Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linaria 6.2] Cannot create property 'message' on symbol 'Symbol(skip)' #1407

Closed
PierreGUI opened this issue Apr 26, 2024 · 4 comments · Fixed by #1408
Closed

[Linaria 6.2] Cannot create property 'message' on symbol 'Symbol(skip)' #1407

PierreGUI opened this issue Apr 26, 2024 · 4 comments · Fixed by #1408
Labels
bug report 🦗 Issue is probably a bug, but it needs to be checked bundler: webpack 📦 Issue is related to webpack bundler needs: complete repro 🖥️ Issue need to have complete repro provided

Comments

@PierreGUI
Copy link

Environment

I updated Linaria & wyw-in-js from previous latest to new latest:

  • "webpack": "^5.89.0",
  • "@babel/core": "^7.24.4",
  • "@linaria/react": "^6.2.0",
  • "@wyw-in-js/babel-preset": "^0.5.3",
  • "@wyw-in-js/webpack-loader": "^0.5.3",

Description

The only change to my code is the update of both packages, breaks the build with the following error:

 ERROR in ./src/components/shared/InfiniteList.view.tsx
  Module build failed (from ./node_modules/babel-loader/lib/index.js):
  TypeError: /Users/pierre/Chordify/chordify-front/client/src/components/shared/InfiniteList.view.tsx: Cannot create property 'message' on symbol 'Symbol(skip)'
      at run (/Users/pierre/Chordify/chordify-front/client/node_modules/@babel/core/lib/transformation/index.js:27:15)
@PierreGUI PierreGUI added bug report 🦗 Issue is probably a bug, but it needs to be checked needs: complete repro 🖥️ Issue need to have complete repro provided needs: triage 🏷 Issue needs to be checked and prioritized labels Apr 26, 2024
@github-actions github-actions bot added bundler: webpack 📦 Issue is related to webpack bundler and removed needs: triage 🏷 Issue needs to be checked and prioritized labels Apr 26, 2024
@Anber
Copy link
Collaborator

Anber commented Apr 26, 2024

It happens when @wyw-in-js/webpack-loader and @linaria/react use different versions of @wyw-in-js/processor-utils. Could you please check the version of @wyw-in-js/processor-utils?

@PierreGUI
Copy link
Author

yes you're right:

├─┬ @linaria/core@6.1.0
│ └── @wyw-in-js/processor-utils@0.4.1
├─┬ @linaria/react@6.2.0
│ └── @wyw-in-js/processor-utils@0.5.3
└─┬ @wyw-in-js/babel-preset@0.5.3
  └─┬ @wyw-in-js/transform@0.5.3
    └── @wyw-in-js/processor-utils@0.5.3

@Anber
Copy link
Collaborator

Anber commented Apr 26, 2024

I messed up with the release yesterday. It should be good now.

@PierreGUI
Copy link
Author

thanks, it builds again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report 🦗 Issue is probably a bug, but it needs to be checked bundler: webpack 📦 Issue is related to webpack bundler needs: complete repro 🖥️ Issue need to have complete repro provided
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants