error node_modules/react-native-vector-icons/lib/create-icon-set.js: #<WeakSet> could not be cloned.
See original GitHub issueerror node_modules/react-native-vector-icons/lib/create-icon-set.js: #<WeakSet> could not be cloned.
Error: #<WeakSet> could not be cloned.
at Object.serialize (node:v8:260:7)
at _default (node_modules/@babel/core/lib/transformation/util/clone-deep.js:16:30)
at normalizeFile (node_modules/@babel/core/lib/transformation/normalize-file.js:52:36)
at normalizeFile.next (<anonymous>)
at run node_modules/@babel/core/lib/transformation/index.js:31:50)
at run.next (<anonymous>)
at /node_modules/@babel/core/lib/transform-ast.js:20:41
at Generator.next (<anonymous>)
at evaluateSync (/node_modules/gensync/index.js:251:28)
using “react-native”: “0.64.0”, and “react-native-vector-icons”: “^8.1.0”
Issue Analytics
- State:
- Created 2 years ago
- Reactions:15
- Comments:38 (1 by maintainers)
Top Results From Across the Web
node_modules/react-native-vector-icons/lib/create-icon-set.js
0", and I got this error node_modules/react-native-vector-icons/lib/create-icon-set.js: #<WeakSet> could not be cloned. with iOS, any idea?
Read more >node_modules/react-native-vector-icons/lib/create-icon-set.js
[Solved]-node_modules/react-native-vector-icons/lib/create-icon-set.js: #<WeakSet> could not be cloned-React Native. Search. score:1. Accepted answer.
Read more >React Native Version upgrade nightmare : r/reactnative - Reddit
#<WeakSet> could not be cloned. This error point to a file only have these libs imported. import * as RNLocalize from 'react-native-localize';
Read more >react-native-vector-icons - Bountysource
error node_modules /react-native-vector-icons/lib/create-icon-set.js: #<WeakSet> could not be cloned. Error: #<WeakSet> could not be cloned. at ...
Read more >Active questions tagged react-native+ios - Stack Overflow
I'm using "react-native-vector-icons": "^8.1.0", and I got this error node_modules/react-native-vector-icons/lib/create-icon-set.js: #<WeakSet> could not be ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For those of you dealing with hours of debugging
@babel/core
being installed at multiple versions, here’s the savior—add this to your package.jsonRemoving
yarn.lock
is a nuclear solution, thankfully there’s a better way. Go toyarn.lock
, see where"@babel/***
start and delete all of them, dependencies are in alphabetical order, so it’s easy selecting them. The next time you doyarn install
it’s going to re-generate only babel dependencies which should solve this problem.