Closed apostolou closed 3 years ago
I'm getting the same error
I got everything running here now. The issues I was experiencing was due to the architecture of my new M1 Mac.
The solution that worked for me was to exclude arm64
from the project and pods, set minimum iOS version to 10
for all pods and:
sudo arch x86_64 gem install cocoapods
arch x86_64 pod install
arch x86_64 npm run ios
@swannodette , I can still reproduce the npm errors reported @ 92115e1f271259e21e67881dd94c2b668e4143d8 when using NPM 7 (7.11.1). When downgrading to NPM 6 (6.14.13) everything works fine. In the readme, it is mentioned to use yarn if we have an error message. This works, but should we update the doc in that case to always use yarn ? Thx
@apostolou async storage is no longer there so the error can't be the same. It's possible to make npm work if you aware of what to do.
thx for reply. I'm using async-storage in my project so I have a dep on it. I'm planning to migrate from it at one point (as it is no longer supported). I'm fine with using yarn anyways 👍
Thank you for this great contribution.
I've followed the instructions under the wiki and installed the whole RN environment following these instructions.
My dependencies in package.json file are:
Note that when I run
npm install
ornpx react-native run-ios
everything works well.Now, when running the command to install repl dependencies :
clj -m cljs.main --install-deps
I've got the following error :
The only way I found to fix this was to downgrade my npm to v6 :
npm install -g npm@6.14.12
. When I did this, the install deps step finished correctly, but my package.json dependencies changed to=> note here the downgrade of version in react.
Am I missing something in the dependencies configuration ? Is krell supposed to work only with npm 6 ? How can I force the use of react 17.0.1 version , or how can I do if I want to use in my project a dependency on
@react-native-community/async-storage": "1.12.1"
Thx