Closed lunaleaps closed 2 years ago
0.66.0-rc.2
Intel, macOS..
In terminal
$ npx react-native init YARN662 --version 0.66.0-rc2 $ npx react-native init NPM662 --npm --version 0.66.0-rc2 # This works $ cd YARN662 && npx react-native run-android # or run-ios # This doesn't work $ cd NPM662 && npx react-native run-android # or run-ios
Here is how the --npm flag is used in react-native-cli: https://github.com/react-native-community/cli/blob/641b21f583c97e3d48ce87d5fe804f42db92fa5c/packages/cli/src/commands/init/init.ts#L213
--npm
diff RN662/node_modules NPM662/node_modules diff -r RN66RC2/node_modules/react-native NPM662/node_modules/react-native
diff RN662/node_modules NPM662/node_modules
diff -r RN66RC2/node_modules/react-native NPM662/node_modules/react-native
Verified that this is only happening in 0.66. I will be moving this issue to react-native repo
Moving this issue to https://github.com/facebook/react-native/issues/32224
Version
0.66.0-rc.2
Developer Environment
Intel, macOS..
Issue and Reproduction Steps
Steps to repro
In terminal
Here is how the
--npm
flag is used in react-native-cli: https://github.com/react-native-community/cli/blob/641b21f583c97e3d48ce87d5fe804f42db92fa5c/packages/cli/src/commands/init/init.ts#L213Attempting diffs of node_modules
diff RN662/node_modules NPM662/node_modules
diff -r RN66RC2/node_modules/react-native NPM662/node_modules/react-native
Outstanding questions -- to be investigated