Garnaph
CDCloudflare Developers
•Created by Garnaph on 8/16/2023 in #pages-help
Cannot deploy Nuxt app to pages. Build completes, but after publish I get a minified runtime error
OK, finally figured this out. wrangler/miniflare places build outputs in your /tmp folder. The output js file ends up in a few locations : The one in the root of /tmp is smaller, with include references. The one in a sub-directory of /tmp has the imports included in the single file. This is the one where I was able to finally find the offending line.
In this case, it ended up being the vue-i18n library I was using. I bumped it to the latest beta version, and the error went away.
6 replies
CDCloudflare Developers
•Created by Garnaph on 8/16/2023 in #pages-help
Cannot deploy Nuxt app to pages. Build completes, but after publish I get a minified runtime error
@.crossbeau thanks for this. Can you tell me where the setting is in config to switch minify to false? I can probably find it myself, but I've had trouble in the past where google says something is in 3 places, and none of them work
6 replies