Nuxt generate FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
问题 I'm trying to nuxt generate my static (with dynamics url params) html pages. Here's my route config in the nuxt.config.js file routes: function () { let domain = 'https://example.com' if (process.env.NUXT_ENV === 'dev' || process.env.NUXT_ENV === 'development') { domain = 'https://dev-example.com' } if (process.env.NUXT_ENV === 'local') { domain = 'http://localhost:3002' } let rooms = axios.get(domain + '/nuxt/rooms').then((res) => { if(res && res.data.length){ return res.data.map((room) => {