[SSR] Error transforming app.vue: Cannot read properties of undefined (reading 'uid')
See original GitHub issueI’ve been getting strange warnings tonight on fresh Nuxt3 projects, both on OSX and Linux. The warnings look like the following:
WARN [SSR] Error transforming .../testing/app.vue: Cannot read properties of undefined (reading 'uid')
at Object.statSync (node_modules/graceful-fs/polyfills.js:313:17)
at isDirectory (node_modules/resolve/lib/sync.js:22:23)
at loadNodeModulesSync (node_modules/resolve/lib/sync.js:191:17)
at Function.resolveSync [as sync] (node_modules/resolve/lib/sync.js:98:17)
at resolveFrom$3 (node_modules/vite/dist/node/chunks/dep-76613303.js:3911:29)
at resolvePackageData (node_modules/vite/dist/node/chunks/dep-76613303.js:30046:19)
at node_modules/vite/dist/node/chunks/dep-76613303.js:30426:15
at Array.find (<anonymous>)
at tryNodeResolve (node_modules/vite/dist/node/chunks/dep-76613303.js:30425:44)
at Context.resolveId (node_modules/vite/dist/node/chunks/dep-76613303.js:30257:28)
Running npx nuxi info
gives the following:
- Operating System: `Darwin`
- Node Version: `v17.0.1`
- Nuxt Version: `3.0.0-27338323.1e98259`
- Package Manager: `yarn@1.22.17`
- Bundler: `Vite`
- User Config: `-`
- Runtime Modules: `-`
- Build Modules: `-`
I get the same error on Linux with Node v14.
Any ideas ?!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:28 (6 by maintainers)
Top Results From Across the Web
Uncaught (in promise) TypeError: Cannot read property 'uid' of ...
I am using laravel 5.4 and Vue.js ...
Read more >typeerror: cannot set properties of undefined created() vue
I get this error when testing TypeError: Cannot read properties of undefined (reading 'state') ...mapState("member", { isAuthenticated: (state: MemberState) ...
Read more >Creating Server-side Rendered Vue.js Apps Using Nuxt.js
Most offer a way of dynamically changing page content without having to send a request to the server each time. However, there is...
Read more >ERROR TypeError: Cannot read property title of undefined
HEY, SET YOUR LIKE THERE !!! ------------------- ----- LIKE --- https://codedocu.com/Software/Angular/Angular- Error /Solv...
Read more >[Vue 3 & Vite 2] Uncaught (in promise) TypeError: Cannot read ...
[Vue warn]: Error in mounted hook: "TypeError: Cannot read properties of undefined (reading 'getAccessTokenSilently')"
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For now, you can work around this by adding a resolution for resolve in your
package.json
:@lewebsimple Yea, not without a silly remark from isaacs though.