Open nick-michael opened 6 years ago
Yes, I found this also (and wasted a few hours trying to figure it out!)
In case someone else has this problem, and can't wait. I fixed it temporarily by creating a symbolic link from metro-bundler
to metro
putting this in my package.json
"scripts": {
"crna-workspaces-hack": "cd node_modules && ln -s metro metro-bundler",
"postinstall": "npm run crna-workspaces-hack"
}
You can still install the 'metro-bundler' node module separately, but the bundle that gets created as part of CRNA currently puts the blacklist file under 'metro'
The blacklist import needs to be updated
const blacklist = require('metro-bundler/src/blacklist')
becomes =>const blacklist = require('metro/src/blacklist')