Skip to content

npm install problem  #13

Open
Open

Description

@garik-pilot

installed the latest nodejs and npm on Linux RH and Windows 2008. Then followed to the instructions how to installed the modules for Annotator but there is the error message for both installations - (on W & L). Are there any suggestions?

C:\AppServers\nodejs\annotator_nodejs_store>npm install express --save
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\AppServers\nodejs\node.exe" "C:\AppServers\nodejs\node
_modules\npm\bin\npm-cli.js" "install" "express" "--save"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! file C:\AppServers\nodejs\annotator_nodejs_store\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token ':' at 1:7
npm ERR! "name": "html5App",
npm ERR! ^
npm ERR! File: C:\AppServers\nodejs\annotator_nodejs_store\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:\AppServers\nodejs\annotator_nodejs_store\npm-debug.log

C:\AppServers\nodejs\annotator_nodejs_store>

Activity

  1. albertjuhe commented on Jul 3, 2015

    @albertjuhe
    Owner

    The problam was that the package.json had an error in the JSON format, because I was modifiing manualy the dependences.
    Now the package.json is correct.
    Thank you

  2. albertjuhe commented on Jul 3, 2015

    @albertjuhe
    Owner

    After do that I installed all the project from scratch and works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions