Closed iparker closed 1 year ago
Hello @iparker,
could you show your whole nuxt.config?
It's very strange that it doesn't find global
, as if something is imported into Node that is only used in the runtime.
Thanks for your reply!
Is it ok if I send you my nuxt.config via email?
@iparker Yes!
The same issue is replicated on my end with the latest speedkit (2.2.3). Was there a solution that fixed it?
@boruchy
Can you share your nuxt & node version and nuxt.config
?
@ThornWalli can I email you the config as well?
@boruchy yes!
@boruchy Can you remove the module nuxt-webpack-optimisations
and see if it works then?
If there is something new, it can be opened again.
@ThornWalli can I email you the config as well?
@muratdemir0 yes 🙂
@ThornWalli i have same issue
Uncaught ReferenceError: global is not defined
at isSupportedBrowser (browser.mjs:3:48)
at Module.<anonymous> (entry.js:79:44)
at ./.nuxt/nuxt-speedkit/entry.js (app.js:1181:30)
at __webpack_require__ (bootstrap:853:1)
at fn (bootstrap:150:1)
at 0 (app.js:1194:18)
at __webpack_require__ (bootstrap:853:1)
at checkDeferredModules (bootstrap:45:1)
at Array.webpackJsonpCallback [as push] (bootstrap:32:1)
at app.js:1:57
@boruchy Can you remove the module
nuxt-webpack-optimisations
and see if it works then?
Thanks for the suggestion! I no longer get the global issue after some upgrades, but now trying to run npm run dev or run start (which just starts nuxt really) just quits nuxt silently without an error. I traced this down to speedkit V2.2.4. removing it starts the project normally
@mahdi-hsoumi @boruchy @iparker
I have updated the v2.
Now the global
is no longer used.
Hello,
I want to try speedkit in a nuxt 2 app with vuetify, pwa and a lot of other stuff and modules. The page is rendered in ssr-mode.
I installed speedkit via npm and set the following base-config:
Next to this I did not change anything (no layout, no component).
When I now build and start the page is completely broken and I got the following error:
Any ideas how to debug and fix this?
Best regards,
Timo