You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CodeSandbox: https://codesandbox.io/s/y0yxr7923j (unfortunately I can't get the CodeSandbox to run again after changing the nuxt.config.js and restarting. Please download the CodeSandbox and run locally to reproduce. Thx!)
Install Nuxt
Install and configure node-sass-magic-importer (see nuxt.config.js in CodeSandbox)
Run npm run generate
100% CPU and nothing else happens (because the developers of global-prefix use try / catch without logging the error).
Add a console.error(err) in the catch section to see the Maximum call stack size exceeded error in node_modules/consola/dist/consola.js. Remove the try / catch block and just return null everything works fine.
Everything worked fine before Nuxt 2.5 so I assume something has changed with this package with the 2.5 release?
Thanks for the great work on Nuxt.js - I'm a big fan!
This question is available on Nuxt community (#c47)
The text was updated successfully, but these errors were encountered:
This issue as been imported as question since it does not respect consola issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/consola/issues/c47.
I hope this does not get deleted automatically, but https://nuxtjs.cmty.io/issues/new does not work!
Reproduction:
CodeSandbox: https://codesandbox.io/s/y0yxr7923j (unfortunately I can't get the CodeSandbox to run again after changing the
nuxt.config.js
and restarting. Please download the CodeSandbox and run locally to reproduce. Thx!)nuxt.config.js
in CodeSandbox)npm run generate
global-prefix
usetry
/catch
without logging the error).I've hunted down the error to the
global-prefix
package to the following lines: https://github.com/jonschlinkert/global-prefix/blob/master/index.js#L65Add a
console.error(err)
in thecatch
section to see theMaximum call stack size exceeded
error innode_modules/consola/dist/consola.js
. Remove thetry
/catch
block and just returnnull
everything works fine.Everything worked fine before Nuxt 2.5 so I assume something has changed with this package with the 2.5 release?
Thanks for the great work on Nuxt.js - I'm a big fan!
The text was updated successfully, but these errors were encountered: