Installing js-beautify fails
See original GitHub issueDescription
I am trying to install a library, which is dependant on this one, and starting today (I’ve tried the last week the last time) I get the following error when installing my dependencies:
npm ERR! path /Users/daniel.rotter/Development/massiveart/sulu-minimal/vendor/sulu/sulu/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 '/Users/daniel.rotter/Development/massiveart/sulu-minimal/vendor/sulu/sulu/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/daniel.rotter/.npm/_logs/2017-09-18T05_55_47_583Z-debug.log
It looks to me like this is somehow connected to the latest 1.7.0 release… Any ideas?
Steps to Reproduce
Create a new folder and install this library as dependency using npm install js-beautify
.
Environment
OS: Mac OSX 10.11.6
Deleted most of the PR template, since it’s not relevant.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:288
- Comments:249 (4 by maintainers)
Top Results From Across the Web
Unable to install js-beautify - Stack Overflow
nvm is a node version manager. npm is the node package manager. You should use npm to install packages npm install js-beautify.
Read more >js-beautify - npm
When installed globally, it provides an executable js-beautify script. As with the Python script, the beautified result is sent to stdout ...
Read more >Bug #1901910 “package jsbeautifier (not installed) failed to ...
Hi, I'm new to the Linux ecosystem. When I updated to Ubuntu 20.04 version from 18.04 my terminal crashed and I was not...
Read more >Black Beautifier - Unibeautify
Open the Terminal application. Show me how to open the Terminal. ... If which fails to return an executable path then you need...
Read more >Glavin001/atom-beautify - Gitter
User root installs the package with no problem, however I can't seem to do so with ... but it uses JS Beautify by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@IvanFan I am sure other libraries haven’t updated to this version yet. So just add the following line to your dependencies:
Mind the missing
^
.@IvanFan fucked is a little bit exaggerating IMO… Just use
npm install js-beautify@1.6.14
for now, that will work until a fix is released.