Closed stdavis closed 5 years ago
I get the same error message using yarn as well.
I was able to get things working again by pinning both packages to 3.1.0
:
"react-native-version-check": "3.1.0",
"react-native-version-check-expo": "3.1.0"
Maybe there was something that caused lerna to publish react-native-version-check/src/node_modules
?
lerna publish
didn't respect .npmignore
and that caused react-native-version-check/src/node_modules
to be published.
It was fixed in #86 and published as v3.2.1
Confirmed that v3.2.1 is working for me. Thank you!!!
After installing
react-native-version-check-expo@3.2.0
, my expo app fails to build with the following error message:To reproduce:
expo init
(blank)expo start
(verify that it starts up without errors)npm i react-native-version-check-expo
expo start
(this returns the error message above)node_modules/react-native-version-check/src/node_modules
seems to contain all sorts of packages that don't seem appropriate (including the duplicatereact-native
package that causes the error above) for a regular npm install. It's almost as if something installed thedevDependencies
for thereact-native-version-check
package. I'm not an expert on how npm installs packages but this seems incorrect to me.This is an incredibly useful package and I'm thankful for the maintainers' work on it. If someone wants to point me in the right direction, I'd be happy to take a stab at a PR to fix this. However, I'm at a loss on where to begin.
NodeJS: v10.15.3 NPM: 6.4.1 expo-cli: 2.17.3