Skip to content
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

package.json file error when it updates from 0.97.0 to 0.98.0 #481

Open
ympaik87 opened this issue Jul 8, 2018 · 0 comments
Open

package.json file error when it updates from 0.97.0 to 0.98.0 #481

ympaik87 opened this issue Jul 8, 2018 · 0 comments

Comments

@ympaik87
Copy link

ympaik87 commented Jul 8, 2018

I receive the error below when I try to update the latest version.

PS C:\Users> apm update kite
Package Updates Available (1)
└── kite 0.97.0 -> 0.98.0

Would you like to install these updates? (yes) yes

Installing kite@0.98.0 to C:\Users\user\.atom\packages failed

npm ERR! Windows_NT 10.0.17134
npm ERR! argv "C:\\Users\\user\\AppData\\Local\\atom\\app-1.28.1\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\user\\AppData\\Local\\atom\\app-1.28.1\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\user\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\user\\.atom\\.apmrc" "install" "C:\\Users\\user\\AppData\\Local\\Temp\\d-11869-56324-b01nm2.gtuyehr529\\package.tgz" "--runtime=electron" "--target=2.0.4" "--arch=x64" "--global-style" "--msvs_version=2015"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! file C:\Users\user\.atom\.apm\md5\2.2.1\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\user\.atom\.apm\md5\2.2.1\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

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\user\AppData\Local\Temp\apm-install-dir-11869-56324-1uic1wf.vlgt2fn7b9\npm-debug.log

it says, i need to report the author to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant