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

Development
  1. OpenProject
  2. Forums
  3. Development
  4. npm install fails dev branch

npm install fails dev branch

Added by Kiffin Gish over 8 years ago

Tried to install latest dev branch and get the following error. Can someone please tell me what is going wrong?

$ npm install
npm ERR! Linux 4.4.0-62-generic
npm ERR! argv "/home/kiffin/.nvm/versions/node/v6.9.1/bin/node" "/home/kiffin/.nvm/versions/node/v6.9.1/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm  v4.1.2
npm ERR! code ENOTSUP

npm ERR! notsup Unsupported engine for openproject@0.1.0: wanted: {"node":"6.9.1","npm":"4.0.0"} (current: {"node":"6.9.1","npm":"4.1.2"})
npm ERR! notsup Not compatible with your version of node/npm: openproject@0.1.0
npm ERR! notsup Not compatible with your version of node/npm: openproject@0.1.0
npm ERR! notsup Required: {"node":"6.9.1","npm":"4.0.0"}
npm ERR! notsup Actual:   {"npm":"4.1.2","node":"6.9.1"}

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

Replies (7)

RE: npm install fails dev branch - Added by Oliver Günther over 8 years ago

The npm requirement on the dev requires specifically 4.0.0, thus your 4.1.2 doesn’t match. That seems to be a mistake, I’ll push a fix.

/edit https://github.com/opf/openproject/commit/418cd5ec96dee947339e72cd9cbc1b49d274b30e

RE: npm install fails dev branch - Added by Kiffin Gish about 8 years ago

Okay that helps, however…

$ cd frontend && npm install
...

npm ERR! notsup Unsupported engine for karma@0.12.37: wanted: {"node":">=0.8 <=0.12 || >=1 <=2"} (current: {"node":"6.2.0","npm":"4.1.2"})
npm ERR! notsup Not compatible with your version of node/npm: karma@0.12.37
npm ERR! notsup Not compatible with your version of node/npm: karma@0.12.37
npm ERR! notsup Required: {"node":">=0.8 <=0.12 || >=1 <=2"}
npm ERR! notsup Actual:   {"npm":"4.1.2","node":"6.2.0"}

RE: npm install fails dev branch - Added by Oliver Günther about 8 years ago

Hi Kiffin,

it seems that karma doesn’t like our node engine requirements. I’ve suggested a PR to update it: https://github.com/opf/openproject/pull/5179

Best,
Oliver

RE: npm install fails dev branch - Added by Kiffin Gish about 8 years ago

Okay thanks. I’m a bit blocked mow, so what’s the workaround until they fix it?

RE: npm install fails dev branch - Added by Oliver Günther about 8 years ago

I’m working on getting the branch mergeable. For now you can just work on the core at the housekeeping/karma branch.

Let me know if that resolves your issues

Best,
Oliver

RE: npm install fails dev branch - Added by Oliver Günther about 8 years ago

The issue should be fixed on dev now.

RE: npm install fails dev branch - Added by Kiffin Gish about 8 years ago

I can verify that everything works again, thanks.

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