-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory #966
Comments
It seems to be a problem of When I write it as plugins: {
'@vuepress/pwa': {
serviceWorker: true,
updatePopup: true
}
}, it's wrong. When I write it as
it's right. |
I don't why most of people NEVER provide a reproduction repo though I have repeatedly emphasized in the issue template. Hope you cooperate with our work, thank you! |
what mean is reproduction repo? |
Reproduction repo example: https://github.com/Eterion/issue-vuepress-badge |
It solved, modify {
"scripts": {
"dev": "node --max_old_space_size=8192 ./node_modules/vuepress/vuepress.js dev website",
"build": "node --max_old_space_size=8192 ./node_modules/vuepress/vuepress.js build website",
}
} thank you! |
Bad idea. |
Maybe you can contribute your idea? |
Bug report
When running
vuepress build website
, it reports an errorVersion
1.0.0-alpha.17
Steps to reproduce
package.json
run
yarn build
What is expected?
Fix this error.
What is actually happening?
Other relevant information
The text was updated successfully, but these errors were encountered: