12.2.2
https://github.com/vuejs/vue/issues/6634
Node: v6.11.2
npm: 3.10.10
npm install vue-loader
Expected the package to be installed.
Getting ENOENT error.
[user@app app]$ npm install vue-loader
/app
โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โ โโโ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โ โโโฌ [email protected]
โ โ โ โโโฌ [email protected]
โ โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โ โโโฌ [email protected]
โ โโโ big.[email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โโโ [email protected]
npm WARN enoent ENOENT: no such file or directory, open '/app/package.json'
npm WARN [email protected] requires a peer of css-loader@* but none was installed.
npm WARN [email protected] requires a peer of vue-template-compiler@^2.0.0 but none was installed.
npm WARN app No description
npm WARN app No repository field.
npm WARN app No README data
npm WARN app No license field.
npm ERR! Linux 4.9.27-14.31.amzn1.x86_64
npm ERR! argv "/home/user/.nvm/versions/node/v6.11.2/bin/node" "/home/user/.nvm/versions/node/v6.11.2/bin/npm" "install" "vue-loader"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! path /app/node_modules/js-beautify/js/bin/css-beautify.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/app/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/app/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /app/npm-debug.log
[@* *]$
Found the issue.
The latest package of js-beautify breaks
Work around:
npm install [email protected]
npm install vue-loader
Let this be a lesson as to why it is very important to always remove the ^ from your package.json.
@dhershman1 NPM Shrinkwrap will be a better choice, to lock down dependencies properly.
Having the same issue...
Can anyone give me a reason not to use yarn?
@qm3ster Yarn is perfect, just keep yarn.lock file to avoid unexpected issues.
( With normal npm Shrinkwrap will be the choice. )
This is still an issue
Most helpful comment
Found the issue.
The latest package of js-beautify breaks
Work around:
npm install [email protected]npm install vue-loader