Skip to content

Run Hello with python not work #32

Closed
@JeongtaekLim

Description

@JeongtaekLim

My test server os is Ubuntu 14.04LTS. And while doing tutorial on README, I got little problem.
I just want to test my installation, and did below command in directory 'API'

 $ npm install .

And, error was occurred.

npm ERR! peerinvalid The package express does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer express-brute@1.0.1 wants express@4.x

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "express" "--save"
npm ERR! cwd /home/jtlim/compilebox/API
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/jtlim/compilebox/API/npm-debug.log
npm ERR! not ok code 0

I suppose there is some problem about version of express,
so I edit package.json as below(just change version specification of express)

 {
  "name": "API",
  "version": "1.0.0",
  "main": "app.js",
  "dependencies": {
    "express": "4.*",
    "express-brute":"*",
    "exports": "*"
  },
  "author": "Osman Ali",
  "license": "MIT"
}

Finally installation check is completed.
Is this temporary remedy right way to do?

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