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
My project should build fine. In fact, if I setup a virtual machine with macOS Big Sur, the project compiles just fine. Moreover, in an Apple Silicon mac with the same macOS version, it works again as expected.
😯 Current Behavior
The compilation fails with the following error message:
(node:56636) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
🚨 Build failed.
@parcel/optimizer-swc: Expected unicode escape
/Users/cdominguez/Developer/horus/node_modules/plotly.js/dist/plotly.js:123965:4
123964 | dy: dy
> 123965 | };
> | ^
123966 | }
123967 | d3.random = {
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
Software
Version(s)
Parcel
2.10.2
Node
v21.1.0
npm
10.2.0
Operating System
macOS Sonoma 14.1 Intel
The text was updated successfully, but these errors were encountered:
@parcel/optimizer-swc: Expected unicode escape
/<my workspace>/node_modules/@reach/popover/dist/reach-popover.esm.js:308:4
307 | // we're assuming the popover will never contain the first tabbable
> 308 | // element, and it better not, because the trigger needs to be tabbable!
> | ^
309 | return event.target === tabbable(ownerDocument)[0];
310 | }
Pinning @swc/core to 1.3.104 didn't fix it
Turns out in this case, the library has a é with accent, replacing that works (patch)
🐛 bug report
After updating to macOS Sonoma, parcel stopped building one of my projects that contains the plotly.js library
🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
My project should build fine. In fact, if I setup a virtual machine with macOS Big Sur, the project compiles just fine. Moreover, in an Apple Silicon mac with the same macOS version, it works again as expected.
😯 Current Behavior
The compilation fails with the following error message:
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
The text was updated successfully, but these errors were encountered: