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. Manual install crashes at RAILS_ENV="production" ./bin/rake assets:precompile - node_modules/.bin/webpack: not found rake aborted!

Manual install crashes at RAILS_ENV="production" ./bin/rake assets:precompile - node_modules/.bin/webpack: not found rake aborted!

Added by John Gray over 9 years ago

I’m trying to install OP on a virtual Ubuntu machine, following the manual install at
https://www.openproject.org/open-source/manual-installation/manual-installation-guide/

And when trying to run the step
RAILS_ENV=“production” ./bin/rake assets:precompile

It stops, printing:

openproject@vagrant-ubuntu-trusty-64:~/openproject-ce$ RAILS_ENV=“production” ./bin/rake assets:precompile
$(npm bin)/webpack —config webpack.config.js
sh: 1: /home/openproject/openproject-ce/frontend/node_modules/.bin/webpack: not found
rake aborted!
Command failed with status (127): [$(npm bin)/webpack —config webpack.config…]
/home/openproject/openproject-ce/lib/tasks/assets.rake:48:in `block (3 levels) in <top (required)>’
/home/openproject/openproject-ce/lib/tasks/assets.rake:47:in `chdir’
/home/openproject/openproject-ce/lib/tasks/assets.rake:47:in `block (2 levels) in <top (required)>’
Tasks: TOP => assets:precompile => assets:compile_environment => assets:webpack
(See full trace by running task with —trace)

Any idea what might cause this and how to proceed?

I saw in another post mentioning a similar error and the reply was to chech the git branch.
openproject@vagrant-ubuntu-trusty-64:~/openproject-ce$ git branch

  • stable/5

Replies (1)

RE: Manual install crashes at RAILS_ENV="production" ./bin/rake assets:precompile - node_modules/.bin/webpack: not found rake aborted! - Added by Oliver Günther over 9 years ago

The error hints at the npm dependencies not being complete.

Did you run npm install in the openproject-ce folder?

Best,
Oliver

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