pymakr 1.2.7 installation fails on windows atom 1.23.2 x64



  • Hi - I get an error installing the pymakr addon with the latest version of Atom on Windows. It looks like something to do with the package.json?

    What development environment/workflow do you use internally? I'd like to be using the most stable/well tested configuration, whatever that is.

    Here's the error log:

    Installing “pymakr@1.2.7” failed.Hide output…

    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: aws-sign2@~0.7.0 (node_modules\pymakr\node_modules\request\node_modules\aws-sign2):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unexpected token '\u0000' at 1:1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: C:\Users\fkoran.stevenswater.atom.apm\aws-sign2\0.7.0\package\package.json
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: combined-stream@~1.0.5 (node_modules\pymakr\node_modules\request\node_modules\combined-stream):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unexpected token '\u0000' at 1:1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY:

    ....

    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: C:\Users\fkoran.stevenswater.atom.apm\uuid\3.1.0\package\package.json
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: tough-cookie@~2.3.3 (node_modules\pymakr\node_modules\request\node_modules\tough-cookie):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unexpected token '\u0000' at 1:1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: C:\Users\fkoran.stevenswater.atom.apm\tough-cookie\2.3.3\package\package.json
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: qs@~6.5.1 (node_modules\pymakr\node_modules\request\node_modules\qs):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Unexpected token '\u0000' at 1:1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: C:\Users\fkoran.stevenswater.atom.apm\qs\6.5.1\package\package.json
    npm ERR! Windows_NT 10.0.16299
    npm ERR! argv "C:\Users\fkoran.stevenswater\AppData\Local\atom\app-1.23.2\resources\app\apm\bin\node.exe" "C:\Users\fkoran.stevenswater\AppData\Local\atom\app-1.23.2\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\fkoran.stevenswater\.atom\.apm\.apmrc" "--userconfig" "C:\Users\fkoran.stevenswater\.atom\.apmrc" "install" "C:\Users\FKORAN~1.STE\AppData\Local\Temp\d-11805-4368-19ubg43.1n24q85mi\package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style" "--msvs_version=2015"
    npm ERR! node v6.9.5
    npm ERR! npm v3.10.10
    npm ERR! file C:\Users\fkoran.stevenswater.atom.apm\aws4\1.6.0\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\fkoran.stevenswater.atom.apm\aws4\1.6.0\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\FKORAN~1.STE\AppData\Local\Temp\apm-install-dir-11805-4368-1lk79w9.5mbgj8m2t9\npm-debug.log


 

Pycom on Twitter