ardcore / atom-language-settings

MIT License
8 stars 2 forks source link

can't install language syntax settings apm@1.0.19 #9

Open 2a2b opened 8 years ago

2a2b commented 8 years ago

Got the following error while installing language-syntax-settings on my atom 1.0.19, not pretty sure the reason .. 😖

basic environment info as below

apm -v

apm  1.0.5
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.3.8

apm install language-syntax-settings showed me those error..

Installing language-syntax-settings
> cson@1.4.5 preinstall /private/var/folders/cf/npndbg851cb2vqjw5l99_fbw0000gn/T/apm-install-dir-11592-53550-mqb33u/node_modules/language-syntax-settings/node_modules/cson
> node ./cyclic.js

> js2coffee@0.2.7 preinstall /private/var/folders/cf/npndbg851cb2vqjw5l99_fbw0000gn/T/apm-install-dir-11592-53550-mqb33u/node_modules/language-syntax-settings/node_modules/cson/node_modules/js2coffee
> npm run-script ./cyclic.js

> typechecker@2.0.8 preinstall /private/var/folders/cf/npndbg851cb2vqjw5l99_fbw0000gn/T/apm-install-dir-11592-53550-mqb33u/node_modules/language-syntax-settings/node_modules/cson/node_modules/extract-opts/node_modules/typechecker
> node ./cyclic.js

npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "run-script" "./cyclic.js"
npm ERR! node v0.10.40
npm ERR! npm  v2.12.1

npm ERR! missing script: ./cyclic.js
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/cf/npndbg851cb2vqjw5l99_fbw0000gn/T/apm-install-dir-11592-53550-mqb33u/node_modules/language-syntax-settings/node_modules/cson/node_modules/js2coffee/npm-debug.log
npm ERR! Darwin 14.5.0
npm ERR! argv "/opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app/apm/bin/node" "/opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/2a2b/.atom/.apm/.apmrc" "--userconfig" "/Users/2a2b/.atom/.apmrc" "install" "/private/var/folders/cf/npndbg851cb2vqjw5l99_fbw0000gn/T/d-11592-53550-1p1exko/package.tgz" "--target=0.30.7" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! js2coffee@0.2.7 preinstall: `npm run-script ./cyclic.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the js2coffee@0.2.7 preinstall script 'npm run-script ./cyclic.js'.
npm ERR! This is most likely a problem with the js2coffee package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run-script ./cyclic.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls js2coffee
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/cf/npndbg851cb2vqjw5l99_fbw0000gn/T/apm-install-dir-11592-53550-mqb33u/npm-debug.log

chris-martin commented 8 years ago

Just wanted to add a "me too" on this...

My output from Atom:

Installing “language-syntax-settings@2.6.0” failed.

> cson@1.4.5 preinstall /tmp/apm-install-dir-115923-13414-ko5pm2/node_modules/language-syntax-settings/node_modules/cson
> node ./cyclic.js

> typechecker@2.0.8 preinstall /tmp/apm-install-dir-115923-13414-ko5pm2/node_modules/language-syntax-settings/node_modules/cson/node_modules/extract-opts/node_modules/typechecker
> node ./cyclic.js

> js2coffee@0.2.7 preinstall /tmp/apm-install-dir-115923-13414-ko5pm2/node_modules/language-syntax-settings/node_modules/cson/node_modules/js2coffee
> npm run-script ./cyclic.js

npm ERR! Linux 3.18.21
npm ERR! argv "/nix/store/w5l8dyhcn7xxnqakp0409hnb9i0qbfpj-nodejs-0.12.7/bin/node" "/run/current-system/sw/bin/npm" "run-script" "./cyclic.js"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3

npm ERR! missing script: ./cyclic.js
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-115923-13414-ko5pm2/node_modules/language-syntax-settings/node_modules/cson/node_modules/js2coffee/npm-debug.log
npm ERR! Linux 3.18.21
npm ERR! argv "/nix/store/f8b67wk2300136lbn0k9dss8si1wlm7p-atom-1.0.4/share/atom/resources/app/apm/bin/node" "/nix/store/f8b67wk2300136lbn0k9dss8si1wlm7p-atom-1.0.4/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/chris/.atom/.apm/.apmrc" "--userconfig" "/home/chris/.atom/.apmrc" "install" "/tmp/d-115923-13414-1fj15fe/package.tgz" "--target=0.22.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! js2coffee@0.2.7 preinstall: `npm run-script ./cyclic.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the js2coffee@0.2.7 preinstall script 'npm run-script ./cyclic.js'.
npm ERR! This is most likely a problem with the js2coffee package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run-script ./cyclic.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls js2coffee
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-115923-13414-ko5pm2/npm-debug.log
shark0der commented 8 years ago

Same here :(

% lsb_release -d
Description:    Ubuntu 14.04.3 LTS
% apm -v                                                                                                                                                             apm  1.4.0
npm  2.13.3
node 0.10.40
python 2.7.6
git 1.9.1
jfarmer commented 8 years ago

Same here on Mac OS X El Capitan:

$ apm -v
apm  1.4.0
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.6.3
$
girvo commented 8 years ago

Same here, El Capitan...

rs0h commented 8 years ago

7 months later same error on windows 10.

$ apm -v
apm  1.9.2
npm  2.13.3
node 0.10.40
python
git 2.7.1.windows.2
visual studio 2013
kyle-jennings commented 7 years ago

Same here - Ubuntu 10.04 apm 1.9.2 npm 2.13.3 node 0.10.40 python 2.7.11+ git 2.9.0