Open link in a new tab

Content

Expand project menu

Config fail when doing "nmp webpack" on AWS instances

I’ve tried to install Openproject on a Ubuntu 16 and a RH on AWS and on both get the same error when configuring:

@$(npm bin)/webpack --config webpack.production.config.js
{"omniauth-openid-connect":"/opt/openproject/vendor/bundle/ruby/2.1.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac","omniauth-openid_connect-providers":"/opt/openproject/vendor/bundle/ruby/2.1.0/bundler/gems/omniauth-openid_connect-providers-86f3670e127e","omniauth-saml":"/opt/openproject/vendor/bundle/ruby/2.1.0/bundler/gems/omniauth-saml-146e46987bcc","openproject-auth_plugins":"/opt/openproject/vendored-plugins/openproject-auth_plugins","openproject-auth_saml":"/opt/openproject/vendor/bundle/ruby/2.1.0/bundler/gems/openproject-auth_saml-97212abb8378","openproject-pdf_export":"/opt/openproject/vendored-plugins/openproject-pdf_export","openproject-backlogs":"/opt/openproject/vendored-plugins/openproject-backlogs","openproject-costs":"/opt/openproject/vendored-plugins/openproject-costs","openproject-documents":"/opt/openproject/vendored-plugins/openproject-documents","openproject-webhooks":"/opt/openproject/vendored-plugins/openproject-webhooks","openproject-github_integration":"/opt/openproject/vendored-plugins/openproject-github_integration","openproject-global_roles":"/opt/openproject/vendored-plugins/openproject-global_roles","openproject-local_avatars":"/opt/openproject/vendored-plugins/openproject-local_avatars","openproject-meeting":"/opt/openproject/vendored-plugins/openproject-meeting","openproject-my_project_page":"/opt/openproject/vendored-plugins/openproject-my_project_page","openproject-openid_connect":"/opt/openproject/vendored-plugins/openproject-openid_connect","reporting_engine":"/opt/openproject/vendored-plugins/reporting_engine","openproject-reporting":"/opt/openproject/vendored-plugins/openproject-reporting","openproject-themes-dark":"/opt/openproject/vendored-plugins/openproject-themes-dark","openproject-translations":"/opt/openproject/vendor/bundle/ruby/2.1.0/bundler/gems/openproject-translations-e19713a37e64","openproject-xls_export":"/opt/openproject/vendored-plugins/openproject-xls_export"}
ts-loader: Using typescript@1.7.5 and /opt/openproject/frontend/tsconfig.json
rake aborted!
Command failed with status (): [$(npm bin)/webpack --config webpack.produc...]
/opt/openproject/lib/tasks/assets.rake:51:in `block (3 levels) in <top (required)>'
/opt/openproject/lib/tasks/assets.rake:50:in `chdir'
/opt/openproject/lib/tasks/assets.rake:50:in `block (2 levels) in <top (required)>'
/opt/openproject/lib/tasks/packager.rake:55:in `block (2 levels) in <top (required)>'
/opt/openproject/vendor/bundle/ruby/2.1.0/gems/rake-11.2.2/exe/rake:27:in `<top (required)>'
Tasks: TOP => assets:precompile => assets:compile_environment => assets:prepare_op => assets:webpack
(See full trace by running task with --trace)

I have searched some other people with same error but no luck with the only one I found: https://community.openproject.com/topics/6306

Ffi install but doesn’t pristine as no gem on cache is found and the webpack always fails even if into the openproject console.

Any ideas?

Thanks

Message actions

Hi.

Did you get any answer with this issue?