Skip to content

express package.json problem on ubuntu  #1731

@patelbhavin2426

Description

@patelbhavin2426

abcd@abcd:~/Desktop/Practise/hello_express$ npm install express
npm ERR! Failed to parse json
npm ERR! Unexpected token ,
npm ERR! File: /node/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! System Linux 3.0.0-12-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "express"
npm ERR! cwd /node/week1/hello_express
npm ERR! node -v v0.10.17
npm ERR! npm -v 1.3.9
npm ERR! file /node/package.json
npm ERR! code EJSONPARSE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /node/week1/hello_express/npm-debug.log
npm ERR! not ok code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions