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
Describe the bug
TypeError (500)
Invalid value used as weak map key
TypeError: Invalid value used as weak map key at WeakMap.set (<anonymous>) at normalizePropsOptions (/Users/elad/dev/quasar/check/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2654:15) at createComponentInstance (/Users/elad/dev/quasar/check/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6120:23) at renderComponentVNode (/Users/elad/dev/quasar/check/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:197:22) at ssrRenderComponent (/Users/elad/dev/quasar/check/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:623:12) at ssrRender (render-app.js:221:80) at renderComponentSubTree (/Users/elad/dev/quasar/check/node_modules/@quasar/app/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:263:13) at renderComponentVNode (/Users/elad/dev/quasar/check/node_modules/@quasar/app/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:214:16) at renderVNode (/Users/elad/dev/quasar/check/node_modules/@quasar/app/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:304:22) at renderComponentSubTree (/Users/elad/dev/quasar/check/node_modules/@quasar/app/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:269:13)
To Reproduce
Steps to reproduce the behavior:
quasar create checkproj
cd checkproj
quasar run dev -m=ssr
Expected behavior
Running project...
Screenshots
Platform (please complete the following information):
Quasar Version:
@quasar/app Version: 3.2.2
Quasar mode:
SPA
SSR
PWA
Electron
Cordova
Capacitor
BEX
Tested on:
SPA
SSR
PWA
Electron
Cordova
Capacitor
BEX
OS: MacBook Pro (13-inch, M1, 2020)
Node: 17.0.1
NPM: 8.1.0
The text was updated successfully, but these errors were encountered:
You can put console.log here and see that there's some problem with router-view component:
node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2654:15
When I replaced router-view with a simple div, the error was gone (but not with other Vue component).
@eladcandroid Hi. It is advisable to never use an odd-versioned version of Node, as they are considered experimental and highly recommended not to be used for production. Basically, it's a springboard for the next even-versioned version of Node.
Also, there seems to be a number of issues coming from Npm 8.x and if at all possible, stick with Yarn for local dependency management, and if using something like Nvm, then use Npm for global dependency management. This has been our recommendation for years and has solved many issues.
Describe the bug
TypeError (500)
Invalid value used as weak map key
TypeError: Invalid value used as weak map key at WeakMap.set (<anonymous>) at normalizePropsOptions (/Users/elad/dev/quasar/check/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2654:15) at createComponentInstance (/Users/elad/dev/quasar/check/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6120:23) at renderComponentVNode (/Users/elad/dev/quasar/check/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:197:22) at ssrRenderComponent (/Users/elad/dev/quasar/check/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:623:12) at ssrRender (render-app.js:221:80) at renderComponentSubTree (/Users/elad/dev/quasar/check/node_modules/@quasar/app/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:263:13) at renderComponentVNode (/Users/elad/dev/quasar/check/node_modules/@quasar/app/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:214:16) at renderVNode (/Users/elad/dev/quasar/check/node_modules/@quasar/app/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:304:22) at renderComponentSubTree (/Users/elad/dev/quasar/check/node_modules/@quasar/app/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:269:13)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Running project...
Screenshots
Platform (please complete the following information):
Quasar Version:
@quasar/app Version: 3.2.2
Quasar mode:
Tested on:
OS: MacBook Pro (13-inch, M1, 2020)
Node: 17.0.1
NPM: 8.1.0
The text was updated successfully, but these errors were encountered: