We have some problems when we try to install our assets.
Everytime we use the command “sudo php ./bin/console oro:assets:install –no-debug” (with or without sudo or debug) we get the following timeout error:
[OK] All assets were successfully installed.
Move “XXX/public/js/bowerassets” to “XXX/public/bundles/bowerassets”
Move “XXX/public/js/npmassets” to “XXX/public/bundles/npmassets”
Move “XXX/public/js/components” to “XXX/public/bundles/components”
Installing npm dependencies.
/usr/local/bin/npm
–no-audit
install
Done.
Building assets.
‘/usr/local/bin/node’ ‘vendor/oro/platform/build/node_modules/webpack/bin/webpack.js’ ‘–mode=production’ ‘–env.symfony=dev’ ‘–colors’
In Process.php line 1330:
The process “‘/usr/local/bin/node’ ‘vendor/oro/platform/build/node_modules/webpack/bin/webpack.js’ ‘–mode=production’ ‘–env.symfony=de
v’ ‘–colors'” exceeded the timeout of 300 seconds.
Is there any way to increase the timeout limit? Somehow the install command succeed from time to time… so we were able to load our styles.scss changes. But now even with an empty styles.scss file we get the timeout. We even tried to disable all custom bundles!
We would be grateful for any help!
we are using OroCommerce 3.1.17
best regards,
Niklas
This topic was modified 3 years, 4 months ago by Niklas.
Okay we have found our Problem.. we mistakenly included the default oro settings and variables like ‘bundles/orofrontend/default/scss/settings/global-settings.scss’ & – ‘bundles/orofrontend/default/scss/variables/page-content-config.scss’ in our assets.yml!
That’s why it took so long to execute the oro:asset:install command and why apparently the correct paths to fonts and images were not found.
Author
Replies
Viewing 8 replies - 1 through 8 (of 8 total)
The forum ‘OroCommerce’ is closed to new topics and replies.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.