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
{{ message }}
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.
With Nuxt 3.7.0 release, I keep getting this error during nuxi prepare after installing 1.1.0:
ERROR Cannot read properties of undefined (reading 'push') 2:55:47 PM
at node_modules/@huntersofbook/naive-ui-nuxt/dist/module.mjs:35:38
at node_modules/hookable/dist/index.mjs:48:66
at Object.run (node_modules/hookable/dist/index.mjs:41:43)
at node_modules/hookable/dist/index.mjs:48:56
at async writeTypes (node_modules/@nuxt/kit/dist/index.mjs:2872:3)
at async Object.run (node_modules/nuxi/dist/chunks/prepare.mjs:70:5)
at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1644:5)
at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1638:7)
at async runMain$1 (node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1756:7)
When I add a null check to line 35 of module.mjs as below, it works fine:
Describe the bug
With Nuxt 3.7.0 release, I keep getting this error during
nuxi prepare
after installing 1.1.0:When I add a null check to line 35 of
module.mjs
as below, it works fine:But am I not sure if this is intended, although I see types can be undefined so probably adding the null check is the fix.
Reproduction
Simply doing nuxi prepare gives this error
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: