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. OpenProject development evironment

OpenProject development evironment

Added by Nils Scahntz about 7 years ago

The tutorial to set up an dev enviroment is not working really.
it does not install npm and so on.

I have a fresh new Ubuntu installation.

I want a dev enviroment. Who could install me one.


Replies (2)

RE: OpenProject development evironment - Added by sam wang about 7 years ago

Actually I already saw the npm is installed after I installed the nodenv, following these guidelines:
https://www.openproject.org/development/setting-up-development-environment/

I checked the environment by typing npm —version and got the result:
3.10.10

However, my problem happened with one of the steps after that:
npm install
which is to install the node_modules. I got the error message:
npm WARN lifecycle openproject@0.1.0~postinstall: cannot run in wd %s %s (wd=%s) openproject@0.1.0 cd frontend && npm install /root/openproject

RE: OpenProject development evironment - Added by sam wang about 7 years ago

I almost fixed it, only with a few warnings:

I tried the install with option —unsafe-perm
npm install —unsafe-perm

then it works and ran for about 10 minutes, then pump out some warnings:
npm WARN openproject-frontend@0.1.0 No repository field.
npm WARN openproject-frontend@0.1.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {os (current: {os)

I hope these warning don’t matter too much!!

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