-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We had a problem with Magento Cloud during launch "magepack generate" #137
Comments
Hey, it is not advised to run bundle generation during CI. You can do that, but as you can see it is problematic and I am unable to support all server configurations to make it work for everybody. Ideally, you should generate configuration locally, commit |
You may like to add The snippet you pasted above from build: |
set -e
unset NPM_CONFIG_PREFIX
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 12.13
npm config set puppeteer_skip_chromium_download true -g
npm install magepack -g
php ./vendor/bin/ece-tools build:generate
magepack bundle
php ./vendor/bin/ece-tools build:transfer |
hi @fredden. Interesting problem |
We had a problem with Magento Cloud during launch "magepack generate"
We added in the .magento.app.yaml (by recommendations https://support.magento.com/hc/en-us/articles/360022507012-Configure-NPM-to-be-able-to-use-PWA-Studio)
The text was updated successfully, but these errors were encountered: