ENOENT: нет такого файла или каталога, откройте package.json

[node v0.6.11, npm v4.2.0]

Установка "Реагируй и реагируй" с помощью следующей команды:

pickledEgg> npm install react react-dom --save

Это успешно:

"dependencies": {
  "angular": "^1.6.7",
  "jquery": "^3.2.1",
  "lodash": "^4.17.4",
  "react": "^16.2.0",
  "react-dom": "^16.2.0"
},

... но я получаю все ужасные предупреждения ниже.

Что тут происходит? Как правильно адресовать эти предупреждения, не подавляя их просто?

npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\autopref
ixer\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\css-load
er\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\cssnano\
package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\icss-uti
ls\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\normaliz
e-url\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss\
package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
calc\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
colormin\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
convert-values\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
discard-comments\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
discard-duplicates\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
discard-empty\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
discard-overridden\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
discard-unused\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\KMiklas\Keith\2017\angular\apple\node_modules\postcss-
filter-plugins\package.json'
// etc...

0 ответов

Другие вопросы по тегам