TOMOLAI
TOMOLAI
NNuxt
Created by TOMOLAI on 3/23/2025 in #❓・help
"sideEffects" is false in the enclosing "package.json" file
@kapa.ai
19 replies
NNuxt
Created by TOMOLAI on 3/23/2025 in #❓・help
"sideEffects" is false in the enclosing "package.json" file
I build the project for Cloudflare Pages, I have the latest version of nuxt and nuxt script and I use Meta pixel, Google analytics etc. When I remove tracking scripts the website works again. The above is the error message i get. @kapa.ai TypeError: Cannot read properties of undefined (reading 'entries') at .wrangler/tmp/pages-oH8Vyj/chunks/build/useTracker.mjs (file:///home/asus/projects/no-engagement/.wrangler/tmp/pages-oH8Vyj/chunks/build/useTracker.mjs:1:6901) at init (file:///home/asus/projects/no-engagement/.wrangler/tmp/dev-jlUmWu/1aqsn110syv.js:5:59) at .wrangler/tmp/pages-oH8Vyj/chunks/build/index.vue.mjs (file:///home/asus/projects/no-engagement/.wrangler/tmp/pages-oH8Vyj/chunks/build/index.vue.mjs:1:607) at init (file:///home/asus/projects/no-engagement/.wrangler/tmp/dev-jlUmWu/1aqsn110syv.js:5:59) at null.<anonymous> (file:///home/asus/projects/no-engagement/.wrangler/tmp/pages-oH8Vyj/chunks/build/server.mjs:1:123353)
19 replies
NNuxt
Created by TOMOLAI on 3/23/2025 in #❓・help
"sideEffects" is false in the enclosing "package.json" file
@kapa.ai
19 replies
NNuxt
Created by TOMOLAI on 3/23/2025 in #❓・help
"sideEffects" is false in the enclosing "package.json" file
I build the project for Cloudflare Pages, I have the latest version of nuxt and nuxt script and I use Meta pixel, Google analytics etc. When I remove tracking scripts the website works again. The above is the error message i get. @kapa.ai
19 replies
NNuxt
Created by TOMOLAI on 3/23/2025 in #❓・help
"sideEffects" is false in the enclosing "package.json" file
Please look at this error @kapa.ai
19 replies
NNuxt
Created by TOMOLAI on 3/23/2025 in #❓・help
"sideEffects" is false in the enclosing "package.json" file
TypeError: Cannot read properties of undefined (reading 'entries') at .wrangler/tmp/pages-oH8Vyj/chunks/build/useTracker.mjs (file:///home/asus/projects/no-engagement/.wrangler/tmp/pages-oH8Vyj/chunks/build/useTracker.mjs:1:6901) at init (file:///home/asus/projects/no-engagement/.wrangler/tmp/dev-jlUmWu/1aqsn110syv.js:5:59) at .wrangler/tmp/pages-oH8Vyj/chunks/build/index.vue.mjs (file:///home/asus/projects/no-engagement/.wrangler/tmp/pages-oH8Vyj/chunks/build/index.vue.mjs:1:607) at init (file:///home/asus/projects/no-engagement/.wrangler/tmp/dev-jlUmWu/1aqsn110syv.js:5:59) at null.<anonymous> (file:///home/asus/projects/no-engagement/.wrangler/tmp/pages-oH8Vyj/chunks/build/server.mjs:1:123353)
19 replies
NNuxt
Created by TOMOLAI on 3/23/2025 in #❓・help
"sideEffects" is false in the enclosing "package.json" file
Option one worked, then when I removed the usage of Nuxt Script the project worked again.
19 replies
NNuxt
Created by TOMOLAI on 11/27/2022 in #❓・help
How to access useStrapi from server api folder?
So it appears that you are unable to do this, and you would have to use $fetch.
3 replies