{
"name": "test-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@babel/preset-env": "^7.4.4",
"babel-loader": "^8.0.5",
"normalize.css": "^8.0.1",
"react": "^16.8.6",
"react-app-polyfill": "^1.0.0",
"react-dom": "^16.8.6",
"react-scripts": "3.0.0",
"styled-components": "^4.2.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.4.4"
}
}
bash: bash_completion: command not found
Attempted import error: 'styled' is not exported from 'styled-components'.
npm ERR! path /Users/zhiganov/Documents/projects/my-app/node_modules/styled-components
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/Users/zhiganov/Documents/projects/my-app/node_modules/styled-components'
npm ERR! { [Error: EACCES: permission denied, access '/Users/zhiganov/Documents/projects/my-app/node_modules/styled-components']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access \'/Users/zhiganov/Documents/projects/my-app/node_modules/styled-components\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path:
npm ERR! '/Users/zhiganov/Documents/projects/my-app/node_modules/styled-components' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zhiganov/.npm/_logs/2019-05-01T18_25_29_366Z-debug.log
MacBook-Air-Zhiganov:my-app zhiganov$ sudo chown -R $USER /usr/local/
Password:
chown: /usr/local/: Operation not permitted
chown: /usr/local/: Operation not permitted
Публичный интерфейс библиотеки написан так, что человек, понимающий язык, не будет задавать подобных вопросов.