node_modules/color/index.js: Unexpected token: name (_28) in file node_modules/color/index.js at 236:30. #232
mMarcos208 posted onGitHub
When build my react native app this error is show.
error node_modules/color/index.js: Unexpected token: name (_28) in file node_modules/color/index.js at 236:30. Error: Unexpected token: name (_28) in file node_modules/color/index.js at 236:30 at minifyCode (/Users/marconibarroso/Desktop/AgroHUB.Mobile/node_modules/metro-transform-worker/src/index.js:99:13) at transformJS (/Users/marconibarroso/Desktop/AgroHUB.Mobile/node_modules/metro-transform-worker/src/index.js:317:28) at transformJSWithBabel (/Users/marconibarroso/Desktop/AgroHUB.Mobile/node_modules/metro-transform-worker/src/index.js:408:16) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.transform (/Users/marconibarroso/Desktop/AgroHUB.Mobile/node_modules/metro-transform-worker/src/index.js:569:12) info Run CLI with --verbose flag for more details.