Nextjs fail on second dev load with TypeError: Cannot create property 'message' on symbol 'Symbol(skip)' #101
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: rollup 🗞️
Issue is related to rollup bundler
bundler: webpack 📦
Issue is related to webpack bundler
cat: modules aliasing 🔗
Issue related to modules aliasing
cat: monorepo 🔱
Issues related to usage of wyw-in-js in monorepo
cat: performance 🚀
Issue is related to performance
needs: complete repro 🖥️
Issue need to have complete repro provided
platform: next.js 🛠️
Issue related to next.js
platform: ssr 🛠️
Issue related to SSR
Environment
babel config
We have a workspace "myWorkspace" that is a child of this build (wanting to move to a monorepo soon).
MacOS
Description
When we run
next dev
, sometimes I get:This happens after teh build completes, when the page loads.
Here are some details:
If I run this command I the problem is resolved on the first run:
"rm -rf .next && rm -rf node_modules .yarn/install-state.gz myWorkspace/node_modules && yarn install && cd myWorkspace && yarn install && next dev"
Refresh page, no error. Go to any page, no error.
If I kill the process and run
next dev
then load a page, the problem is back.Things tried
api.cache(false)
Reproducible Demo
We are working on a reproducible demo. I know we have a complicated list of dependencies.
Do you have any thoughts for us @Anber ? As in, how might a build work after nuking node modules and reinstalling, then fail when the command is attempted a second time? I'm fine if this is a downstream issue, I just want to figure out how to resolve. Thank you for you work in Linara and innovation in wyw-in-js. We use it on an enterprise-level site.
The text was updated successfully, but these errors were encountered: