Skip to content

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

@ympaik87

Description

@ympaik87

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 [email protected] 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions