ardcore / atom-language-settings

MIT License
8 stars 2 forks source link

Installing “language-syntax-settings@2.6.0” failed #7

Closed zchee closed 4 years ago

zchee commented 9 years ago

I tried both of Preferences > Packages > Install Packages and apm install language-syntax-settings In Atom Version 0.166.0

plz solution.

Error log

> cson@1.4.5 preinstall /private/var/folders/3t/nm931rzn5vnd0s_9hl5p6vv80000gn/T/apm-install-dir-11507-45476-7lkst7/node_modules/language-syntax-settings/node_modules/cson
> node ./cyclic.js

> typechecker@2.0.8 preinstall /private/var/folders/3t/nm931rzn5vnd0s_9hl5p6vv80000gn/T/apm-install-dir-11507-45476-7lkst7/node_modules/language-syntax-settings/node_modules/cson/node_modules/extract-opts/node_modules/typechecker
> node ./cyclic.js

> js2coffee@0.2.7 preinstall /private/var/folders/3t/nm931rzn5vnd0s_9hl5p6vv80000gn/T/apm-install-dir-11507-45476-7lkst7/node_modules/language-syntax-settings/node_modules/cson/node_modules/js2coffee
> npm run-script ./cyclic.js

npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/jsesc
npm http GET https://registry.npmjs.org/loophole
npm http GET https://registry.npmjs.org/cson
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/jsesc
npm http 304 https://registry.npmjs.org/cson
npm http 304 https://registry.npmjs.org/loophole
npm http GET https://registry.npmjs.org/js2coffee
npm http GET https://registry.npmjs.org/requirefresh
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/extract-opts
npm http 304 https://registry.npmjs.org/requirefresh
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/js2coffee
npm http 304 https://registry.npmjs.org/extract-opts
npm http GET https://registry.npmjs.org/typechecker
npm http 304 https://registry.npmjs.org/typechecker
sh: npm: command not found
npm ERR! js2coffee@0.2.7 preinstall: `npm run-script ./cyclic.js`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the js2coffee@0.2.7 preinstall script.
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! System Darwin 14.1.0
npm ERR! command "/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/Users/Chee/.atom/.apmrc" "install" "/Users/Chee/.atom/.node-gyp/.atom/.apm/language-syntax-settings/2.6.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /private/var/folders/3t/nm931rzn5vnd0s_9hl5p6vv80000gn/T/apm-install-dir-11507-45476-7lkst7
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /private/var/folders/3t/nm931rzn5vnd0s_9hl5p6vv80000gn/T/apm-install-dir-11507-45476-7lkst7/npm-debug.log
npm ERR! not ok code 0
dav-m85 commented 8 years ago

I guess it has been deprecated in favor of native support for this feature, as described in https://github.com/atom/docs/blob/master/book/02-using-atom/sections/06-customizing.asc.

I would suggest closing this issue @zchee :)

rubo77 commented 5 years ago

Your link is dead.

here is the last version: https://github.com/atom/flight-manual.atom.io/blob/681c7fe6e69f1f64396ecadfde1323a01e7f5b96/book/02-using-atom/sections/06-customizing.asc#language-specific-settings-in-the-settings-view