Open vuphuctho opened 6 years ago
My temporary fix is to put a check in rn-cli.config.js
. This works, but I expect an official fix for this.
if (process.env.NODE_ENV === 'production') {
module.exports = {
getTransformModulePath() {
return require.resolve("./transformer")
},
}
}
Hi :heart: :wave:
Which version of source-map do you have? run this command and paste the output here:
cat node_modules/source-map/package.json | grep version
"version": "0.5.7"
Project dependencies
Problem details
Observation Following error was thrown in console: