Content
rake aborted when running assets:precompile
Added by Peter Zhou about 8 years ago
I’m trying to install openproject-ce on CentOS 7. When I trying to run the task of assets:precompile, I got the following error. Please help me. Thanks in advance.
Here is the log information for your reference.
$(npm bin)/webpack —config webpack.production.config.js
Hash: 97102678a9de4d958bb3
Version: webpack 1.13.3
Child
Hash: 97102678a9de4d958bb3
Version: webpack 1.13.3
Time: 189ms
+ 5 hidden modules
ERROR in ./global.js
Module build failed: TypeError: Cannot read property ‘list’ of undefined
at Object.ngAnnotate (/opt/openproject-ce/frontend/node_modules/ng-annotate/build/es5/ng-annotate-main.js:1038:16)
ERROR in ./openproject-app.js
Module build failed: TypeError: Cannot read property ‘list’ of undefined
at Object.ngAnnotate (/opt/openproject-ce/frontend/node_modules/ng-annotate/build/es5/ng-annotate-main.js:1038:16)
ERROR in /opt/openproject-ce/vendored-plugins/openproject-backlogs/frontend/app/openproject-backlogs-app.js
Module build failed: TypeError: Cannot read property ‘list’ of undefined
at Object.ngAnnotate (/opt/openproject-ce/frontend/node_modules/ng-annotate/build/es5/ng-annotate-main.js:1038:16)
ERROR in /opt/openproject-ce/vendored-plugins/openproject-costs/frontend/app/openproject-costs-app.js
Module build failed: TypeError: Cannot read property ‘list’ of undefined
at Object.ngAnnotate (/opt/openproject-ce/frontend/node_modules/ng-annotate/build/es5/ng-annotate-main.js:1038:16)
ERROR in /opt/openproject-ce/vendored-plugins/openproject-my_project_page/frontend/app/openproject-my_project_page-app.js
Module build failed: TypeError: Cannot read property ‘list’ of undefined
at Object.ngAnnotate (/opt/openproject-ce/frontend/node_modules/ng-annotate/build/es5/ng-annotate-main.js:1038:16)
rake aborted!
Sprockets::FileNotFound: couldn’t find file ‘bundles/openproject-global’ with type ‘text/css’
Checked in these paths:
/opt/openproject-ce/app/assets/stylesheets/default.css.sass:28