Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    pymakr 1.2.7 installation fails on windows atom 1.23.2 x64

    Scheduled Pinned Locked Moved Pymakr
    atompkmakr
    1 Posts 1 Posters 767 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      fkoran
      last edited by

      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

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post

      Pycom on Twitter

      Pycom