phamha98 / hi

note
Other
2 stars 0 forks source link

React Native: Unexpected token ':'. Expected a ')' or a ',' after a parameter declaration. #14139 #5

Open phamha98 opened 2 years ago

phamha98 commented 2 years ago

--https://github.com/babel/babel/issues/14139

phamha98 commented 2 years ago

In cmd echo $TMPDIR Go to path and remove metro-cache (rm -r metro-cache) remove node modules, package-lock npm cache clean --force upgrade metro-react-native-babel-preset version to 0.59.0 npm install npm start -- --reset-cache