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
PS D:\wc\stel\stel_dev\stel-django\stel\stelapp\components> parcel build -o .\patientSettingsPage.js -d ../../asset/components/ --no-source-maps --experimental-scope-hoisting .\patientSettingsPage.js
× node_modules\libphonenumber-js\es6\findPhoneNumbers.js does not export '$HkE9$export$searchPhoneNumbers'
at replaceExportNode (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\parcel-bundler\src\scope-hoisting\concat.js:54:13)
at ReferencedIdentifier (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\parcel-bundler\src\scope-hoisting\concat.js:317:20)
at newFn (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\@babel\traverse\lib\visitors.js:230:17)
at NodePath._call (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\@babel\traverse\lib\path\context.js:88:12)
at TraversalContext.visitQueue (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\@babel\traverse\lib\context.js:118:16)
at TraversalContext.visitSingle (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\@babel\traverse\lib\context.js:90:19)
at TraversalContext.visit (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\@babel\traverse\lib\context.js:146:19)
at Function.traverse.node (C:\Users\adrie\AppData\Local\Yarn\Data\global\node_modules\@babel\traverse\lib\index.js:94:17)```
💁 Possible Solution
maybe related to a non ES6 compliant implementation of libphonenumber-js
$ parcel build index.js --no-cache --experimental-scope-hoisting
🚨 lib2.js does not export '$oHGM$export$x'
at replaceExportNode (.../node_modules/parcel-bundler/src/scope-hoisting/concat.js:54:13)
at ReferencedIdentifier (.../node_modules/parcel-bundler/src/scope-hoisting/concat.js:317:20)
at newFn (.../node_modules/@babel/traverse/lib/visitors.js:230:17)
at NodePath._call (.../node_modules/@babel/traverse/lib/path/context.js:53:20)
at NodePath.call (.../node_modules/@babel/traverse/lib/path/context.js:40:17)
at NodePath.visit (.../node_modules/@babel/traverse/lib/path/context.js:88:12)
at TraversalContext.visitQueue (.../node_modules/@babel/traverse/lib/context.js:118:16)
at TraversalContext.visitSingle (.../node_modules/@babel/traverse/lib/context.js:90:19)
at TraversalContext.visit (.../node_modules/@babel/traverse/lib/context.js:146:19)
at Function.traverse.node (.../node_modules/@babel/traverse/lib/index.js:94:17)
🐛 bug report
I could not build a code using libphonenumber-js library, which works well without --experimental-scope-hoisting.
🎛 Configuration (.babelrc, package.json, cli command)
I have NO configuration at all, only CLI, see below
🤔 Expected Behavior
i expected the build to go through
😯 Current Behavior
cannot build
💁 Possible Solution
maybe related to a non ES6 compliant implementation of libphonenumber-js
🔦 Context
was trying to reduce the size of an existing page
💻 Code Sample
I used this import
🌍 Your Environment
windows 10, yarn install parcel bundler updated 1.10.3
The text was updated successfully, but these errors were encountered: