-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to 6.2.1 causes infinite refresh on web #10
Comments
I cannot reproduce this by following the steps you mentioned. Please provide a working repro. |
the refresh and error are actually 2 separate issues the refresh was caused by a method implemented for cache busting which was looking for asset-manifest.json which appears to have been removed in this version. I have implemented a workaround. the TypeError useRegisterNavigator.tsx
What was removed from v6.2.x that would cause this error with react-navigation? |
I was able to resolve this issue by deleting my |
Same issues |
having the same issue! |
Same issue! |
It appears that cjs has been excluded from the compilation target.
|
This is working for me. I was facing this error having my app in web, starting and refreshing. But including customize |
To complete @s-kuniyoshi answer, here are the steps I followed to fix this issue:
|
how did you fix the second error |
Summary
After updating to 6.2.1, running the app in web results in the following console error and an infinite refresh in the browser
react native TypeError: (0 , _nanoid.nanoid) is not a function
Reverting to 6.1.0 resolves issue
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 12.6
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.21.2 - /usr/local/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 9.3.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
IDEs:
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmPackages:
babel-preset-expo: ~9.1.0 => 9.1.0
expo: ^45.0.0 => 45.0.8
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-native: 0.68.2 => 0.68.2
react-native-web: 0.17.7 => 0.17.7
npmGlobalPackages:
eas-cli: 0.47.0
expo-cli: 6.2.1
Expo Workflow: managed
Please specify your device/emulator/simulator platform, model and version
Mac OS Monteray v12.6 running Brave browser; AWS Amplify
Error output
No response
Reproducible demo or steps to reproduce from a blank project
install expo-cli 6.2.1
run expo start -c
press w to run in web
The text was updated successfully, but these errors were encountered: