Cli: FYI: sequelize-cli fails install

Created on 18 Sep 2017  路  14Comments  路  Source: sequelize/cli

What you are doing?

Installing sequelize-cli

What do you expect to happen?

Should install properly

What is actually happening?

npm ERR! Linux 4.2.0-42-generic
npm ERR! argv "/home/rof/.nvm/versions/node/v7.10.1/bin/node" "/home/rof/.nvm/versions/node/v7.10.1/bin/npm" "install" "-g" "[email protected]"
npm ERR! node v7.10.1
npm ERR! npm  v4.2.0
npm ERR! path /home/rof/.nvm/versions/node/v7.10.1/lib/node_modules/sequelize-cli/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 '/home/rof/.nvm/versions/node/v7.10.1/lib/node_modules/sequelize-cli/node_modules/js-beautify/js/bin/css-beautify.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/rof/.nvm/versions/node/v7.10.1/lib/node_modules/sequelize-cli/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!     /home/rof/.npm/_logs/2017-09-18T08_35_52_421Z-debug.log

This is in relation to one of the dependencies installed. See the relevant ticket on their page.

https://github.com/beautify-web/js-beautify/issues/1247

Most helpful comment

Try this for now npm install -g [email protected] sequelize-cli

All 14 comments

+1

have same problem just tried to install version [email protected] or upper

C:\temp\qqq>npm install sequelize-cli
[email protected] C:\temp\qqq
+-- [email protected]  extraneous
+-- [email protected]  extraneous
+-- [email protected]  extraneous
`-- [email protected]  extraneous

npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "sequelize-cli"
npm ERR! node v7.10.1
npm ERR! npm  v4.2.0
npm ERR! path C:\temp\qqq\node_modules\js-beautify\js\bin\css-beautify.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\temp\qqq\node_modules\js-beautify\js\bin\css-beautify.js'
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\temp\qqq\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

+1, have the same when installing version 3.0.0-3

+1

+1

+1

+1

+1

+1

Hi Guys I've this issue using the release 2.8.0 can you take a look and downgrade the js-beautify version to 1.6.14 ?

Try this for now npm install -g [email protected] sequelize-cli

+1

@jfreak temporary solution works for now, thanks

New release from https://www.npmjs.com/package/js-beautify should fix this

Was this page helpful?
0 / 5 - 0 ratings