Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error "Not found" while getting from npm #1246

Closed
ahadyekta opened this issue Sep 18, 2017 · 11 comments
Closed

error "Not found" while getting from npm #1246

ahadyekta opened this issue Sep 18, 2017 · 11 comments

Comments

@ahadyekta
Copy link

Description

this package is a dependency for a project and when I want to install it through npm it gives me error
here is full log:

Actual Output

14526 silly build js-beautify@1.7.0
14527 info linkStuff js-beautify@1.7.0
14528 silly linkStuff js-beautify@1.7.0 has /root/vue-deepstream-crud/node_modules as its parent node_modules
14529 verbose linkBins js-beautify@1.7.0
14530 verbose linkBins [ { 'css-beautify': './js/bin/css-beautify.js',
14530 verbose linkBins     'html-beautify': './js/bin/html-beautify.js',
14530 verbose linkBins     'js-beautify': './js/bin/js-beautify.js' },
14530 verbose linkBins   '/root/vue-deepstream-crud/node_modules/.bin',
14530 verbose linkBins   false ]
14531 verbose linkMans js-beautify@1.7.0
14532 verbose unlock done using /root/.npm/_locks/staging-e0f907139d2c9e76.lock for /root/vue-deepstream-crud/node_modules/.staging
14533 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
14534 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
14535 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
14535 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
14535 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
14535 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
14536 verbose stack Error: ENOENT: no such file or directory, chmod '/root/vue-deepstream-crud/node_modules/js-beautify/js/bin/css-beautify.js'
14537 verbose cwd /root/vue-deepstream-crud
14538 verbose Linux 3.10.0-514.26.1.el7.x86_64
14539 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
14540 verbose node v8.3.0
14541 verbose npm  v5.3.0
14542 error path /root/vue-deepstream-crud/node_modules/js-beautify/js/bin/css-beautify.js
14543 error code ENOENT
14544 error errno -2
14545 error syscall chmod
14546 error enoent ENOENT: no such file or directory, chmod '/root/vue-deepstream-crud/node_modules/js-beautify/js/bin/css-beautify.js'
14547 error enoent This is related to npm not being able to find a file.
14548 verbose exit [ -2, true ]

@inonbaguio
Copy link

Happening on me too

@benjamin658
Copy link

Same here...

@yuxizhe
Copy link

yuxizhe commented Sep 18, 2017

Same error

@nkostadinov
Copy link

me too

@hatzipanis
Copy link

Having problems as well. Failing to build on Heroku:

remote: -----> Building dependencies
remote:        Installing node modules (package.json)
remote:        npm ERR! path /tmp/build_e262bf6bfe2ba3e16e903d33781141fc/node_modules/js-beautify/js/bin/css-beautify.js
remote:        npm ERR! code ENOENT
remote:        npm ERR! errno -2
remote:        npm ERR! syscall chmod
remote:        npm ERR! enoent ENOENT: no such file or directory, chmod '/tmp/build_e262bf6bfe2ba3e16e903d33781141fc/node_modules/js-beautify/js/bin/css-beautify.js'
remote:        npm ERR! enoent This is related to npm not being able to find a file.
remote:        npm ERR! enoent
remote:        
remote:        npm ERR! A complete log of this run can be found in:
remote:        npm ERR!     /app/.npm/_logs/2017-09-18T06_08_18_852Z-debug.log
remote: 
remote: -----> Build failed
remote:        
remote:        We're sorry this build is failing! You can troubleshoot common issues here:
remote:        https://devcenter.heroku.com/articles/troubleshooting-node-deploys

@lishengzxc
Copy link

#1247

@franzwilhelm
Copy link

Same here

@TheDutchCoder
Copy link

Same issue here, but we use 1.6.14, so specifying a version doesn't seem to matter.

@msolano00
Copy link

@TheDutchCoder seems like one of your packages is using the latest version of js-beautify.

@kbherbert
Copy link

Having the same issue when using with vue-loader

@bitwiseman
Copy link
Member

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests