Open link in a new tab

Content

Expand project menu

Error - webpack --config webpack.config.js

Hello guys

im trying to install OpenProject on Debian 8.3 x64 VPS with Packaged Installation but

openproject configure

fails everytime with following error:

webpack --config webpack.config.js
rake aborted!
Command failed with status (1): [webpack --config webpack.config.js...]
/opt/openproject/lib/tasks/assets.rake:48:in `block (3 levels) in <top (required)>'
/opt/openproject/lib/tasks/assets.rake:47:in `chdir'
/opt/openproject/lib/tasks/assets.rake:47:in `block (2 levels) in <top (required)>'
/opt/openproject/lib/tasks/packager.rake:52:in `block (2 levels) in <top (required)>'
Tasks: TOP => assets:precompile => assets:compile_environment => assets:webpack
(See full trace by running task with --trace)

I tried install nodejs and install webpack with npm install -g webpack, but it still doesn’t work.

Message actions

The packaged installation comes with all required dependencies for webpack and contains a nodejs installation.

I assume there is some permission problem or you have a custom shell or something.

Can you try to run webpack manually:

openproject run /opt/openproject/frontend/node_modules/.bin/webpack

Best,
Oliver