Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Problem on npm installation

Problem on npm installation

Added by tong cat about 9 years ago

When I typed “npm install”, it will stuck at:

“make: Leaving directory `/home/openproject/openproject-ce/frontend/node_modules/protractor/node_modules/selenium-webdriver/node_modules/ws/node_modules/bufferutil/build’ ”

After I issued the commands below:

rm -fR ~/.npm
npm cache clean

run again with “npm install”, it show up these errors:

npm ERR! Linux 3.19.0-25-generic
npm ERR! argv “/home/openproject/.nodenv/versions/0.12.7/bin/node” “/home/openproject/.nodenv/versions/0.12.7/bin/npm” “install”
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! openproject-frontend@0.1.0 postinstall: `bower install —config.interactive=false`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the openproject-frontend@0.1.0 postinstall script ‘bower install —config.interactive=false’.
npm ERR! This is most likely a problem with the openproject-frontend package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install —config.interactive=false
npm ERR! You can get their info via:
npm ERR! npm owner ls openproject-frontend
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/openproject/openproject-ce/frontend/npm-debug.log

npm ERR! Linux 3.19.0-25-generic
npm ERR! argv “/home/openproject/.nodenv/versions/0.12.7/bin/node” “/home/openproject/.nodenv/versions/0.12.7/bin/npm” “install”
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! openproject@0.1.0 postinstall: `cd frontend && npm install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openproject@0.1.0 postinstall script ‘cd frontend && npm install’.
npm ERR! This is most likely a problem with the openproject package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd frontend && npm install
npm ERR! You can get their info via:
npm ERR! npm owner ls openproject
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/openproject/openproject-ce/npm-debug.log


Replies (2)

RE: Problem on npm installation - Added by Joaquin Henriquez about 9 years ago

Gt better the npm-debug.log, it actually tells you more.

RE: Problem on npm installation - Added by tong cat about 9 years ago

Problem solved by updating npm.

  • (1 - 2/2)
Loading...