Skip to content

Installing “[email protected]” failed. #589

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

Closed
johnnyreilly opened this issue Sep 19, 2015 · 9 comments
Closed

Installing “[email protected]” failed. #589

johnnyreilly opened this issue Sep 19, 2015 · 9 comments

Comments

@johnnyreilly
Copy link
Member

Hi Guys,

I'm getting this repeatedly when I try and install 6.0.11: 😭

npm WARN excluding symbolic link node_modules\.bin\mkdirp -> ../mkdirp/bin/cmd.js
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\.bin\cake -> ../coffee-script/bin/cake
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\.bin\coffee -> ../coffee-script/bin/coffee
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\fs-plus\node_modules\.bin\rimraf -> ../rimraf/bin.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\cake -> ../coffee-script/bin/cake
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\coffee -> ../coffee-script/bin/coffee
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\js-yaml -> ../js-yaml/bin/js-yaml.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\nopt -> ../nopt/bin/nopt.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\rimraf -> ../rimraf/bin.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\which -> ../which/bin/which
npm WARN excluding symbolic link node_modules\grunt\node_modules\js-yaml\node_modules\.bin\esparse -> ../esprima/bin/esparse.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\js-yaml\node_modules\.bin\esvalidate -> ../esprima/bin/esvalidate.js
npm WARN excluding symbolic link node_modules\.bin\mkdirp -> ../mkdirp/bin/cmd.js
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\.bin\cake -> ../coffee-script/bin/cake
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\.bin\coffee -> ../coffee-script/bin/coffee
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\fs-plus\node_modules\.bin\rimraf -> ../rimraf/bin.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\cake -> ../coffee-script/bin/cake
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\coffee -> ../coffee-script/bin/coffee
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\js-yaml -> ../js-yaml/bin/js-yaml.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\nopt -> ../nopt/bin/nopt.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\rimraf -> ../rimraf/bin.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\.bin\which -> ../which/bin/which
npm WARN excluding symbolic link node_modules\grunt\node_modules\js-yaml\node_modules\.bin\esparse -> ../esprima/bin/esparse.js
npm WARN excluding symbolic link node_modules\grunt\node_modules\js-yaml\node_modules\.bin\esvalidate -> ../esprima/bin/esvalidate.js
npm ERR! not a package C:\Users\John\.atom\.apm\is-buffer\1.1.0\package.tgz
npm ERR! not a package C:\Users\John\.atom\.apm\is-buffer\1.1.0\package.tgz
npm WARN optional dep failed, continuing [email protected]
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\John\\AppData\\Local\\atom\\app-1.0.15\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\John\\AppData\\Local\\atom\\app-1.0.15\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\John\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\John\\.atom\\.apmrc" "install" "C:\\Users\\John\\AppData\\Local\\Temp\\d-115819-6176-1x9md7w\\package.tgz" "--target=0.30.6" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! file C:\Users\John\.atom\.apm\yargs\1.3.3\package\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1
npm ERR! 
npm ERR! ^
npm ERR! File: C:\Users\John\.atom\.apm\yargs\1.3.3\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR! 
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
@basarat
Copy link
Member

basarat commented Sep 19, 2015

new version of atom broke grunt / grunt-ts

Was reported on mac previously: #583

Fixed with 6.0.12 🌹

@johnnyreilly
Copy link
Member Author

Now that's service!

I was just digging into this: yargs/yargs#78

I shall now try and reinstall...

@johnnyreilly johnnyreilly reopened this Sep 19, 2015
@johnnyreilly
Copy link
Member Author

6.0.12 doesnt appear to have published properly....

I'm getting this in atom:

Installing “[email protected]” failed.Hide output…
Package version: 6.0.12 not found

@johnnyreilly
Copy link
Member Author

And when I switch to apm I get this:

C:\source\globalize-so-what-cha-want [master +0 ~1 -0]> apm install atom-typescript
Installing atom-typescript to C:\Users\John\.atom\packages failed

npm WARN excluding symbolic link node_modules\.bin\mkdirp -> ../mkdirp/bin/cmd.js
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modul
es\.bin\cake -> ../coffee-script/bin/cake
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modul
es\.bin\coffee -> ../coffee-script/bin/coffee
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modul
es\fs-plus\node_modules\.bin\rimraf -> ../rimraf/bin.js
npm WARN excluding symbolic link node_modules\.bin\mkdirp -> ../mkdirp/bin/cmd.js
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modul
es\.bin\cake -> ../coffee-script/bin/cake
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modul
es\.bin\coffee -> ../coffee-script/bin/coffee
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modul
es\fs-plus\node_modules\.bin\rimraf -> ../rimraf/bin.js
npm WARN optional dep failed, continuing [email protected]
npm ERR! not a package C:\Users\John\.atom\.apm\is-buffer\1.1.0\package.tgz
npm ERR! not a package C:\Users\John\.atom\.apm\is-buffer\1.1.0\package.tgz
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\John\\AppData\\Local\\atom\\app-1.0.15\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\John\\
AppData\\Local\\atom\\app-1.0.15\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\
John\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\John\\.atom\\.apmrc" "install" "C:\\Users\\John\\AppData\\Local\\T
emp\\d-115820-7368-12sj1c8\\package.tgz" "--target=0.30.6" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! file C:\Users\John\.atom\.apm\yargs\1.3.3\package\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: C:\Users\John\.atom\.apm\yargs\1.3.3\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

@johnnyreilly
Copy link
Member Author

I've been trying to roll back to a version unaffected by this issue but it seems pretty consistent... any suggestions?

@johnnyreilly
Copy link
Member Author

Tried uninstalling and reinstalling atom to no avail trying to install 6.0.12 inside atom now yields this:

Installing “[email protected]” failed.Hide output…

npm WARN excluding symbolic link node_modules\.bin\mkdirp -> ../mkdirp/bin/cmd.js
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\.bin\cake -> ../coffee-script/bin/cake
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\.bin\coffee -> ../coffee-script/bin/coffee
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\fs-plus\node_modules\.bin\rimraf -> ../rimraf/bin.js
npm WARN excluding symbolic link node_modules\.bin\mkdirp -> ../mkdirp/bin/cmd.js
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\.bin\cake -> ../coffee-script/bin/cake
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\.bin\coffee -> ../coffee-script/bin/coffee
npm WARN excluding symbolic link node_modules\atom-space-pen-views\node_modules\grim\node_modules\coffeestack\node_modules\fs-plus\node_modules\.bin\rimraf -> ../rimraf/bin.js
npm ERR! not a package C:\Users\John\.atom\.apm\is-buffer\1.1.0\package.tgz
npm ERR! not a package C:\Users\John\.atom\.apm\is-buffer\1.1.0\package.tgz
npm WARN optional dep failed, continuing [email protected]
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\John\\AppData\\Local\\atom\\app-1.0.15\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\John\\AppData\\Local\\atom\\app-1.0.15\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\John\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\John\\.atom\\.apmrc" "install" "C:\\Users\\John\\AppData\\Local\\Temp\\d-115820-5424-na4ngd\\package.tgz" "--target=0.30.6" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! file C:\Users\John\.atom\.apm\yargs\1.3.3\package\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1
npm ERR! 
npm ERR! ^
npm ERR! File: C:\Users\John\.atom\.apm\yargs\1.3.3\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR! 
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

@basarat
Copy link
Member

basarat commented Sep 21, 2015

I am fairly unclear why that is happening to you. I just tried right now and it worked fine (I did do a publish right now so that might have silently fixed it).

image

Can you try again. Thanks for your patience 🌹 :)

@johnnyreilly
Copy link
Member Author

Gosh your console font is hideous 😄

Sorted now - I don't know why but uninstalling atom, wiping my .atom folder, reinstalling atom and reinstlaling the packages did the job.

Most strange! - Thanks for your help 🌹 🌷

@basarat
Copy link
Member

basarat commented Sep 21, 2015

Gosh your console font is hideous

its the windows default :)

@TypeStrong TypeStrong locked and limited conversation to collaborators Jan 20, 2019
angelestelar5z added a commit to angelestelar5z/atom-typescript that referenced this issue Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants