Comments (4)
Oh that's unfortunate, last I tested stylis
was working with the quickfix, something must of changed since then.
Being a quickfix, its not the actual fix - that's in @expo/metro-config@next
. I tested your repo using the updated metro config package and it appears to be working. Just remove the 'quickfix' line from your config and run yarn add @expo/metro-config@next
I'm going to close this as it appears to be fixed, but you still have issues simply reply and we can reopen it.
from router.
@marklawlor Finally it is working! Thanks.
from router.
@marklawlor I am seeing another problem in my other repo which was fine in expo 48
.
Do you have any idea how to resolve above?
ERROR in ./node_modules/@expo/metro-runtime/build/error-overlay/Data/parseLogBoxLog.js:10
Module not found: Can't resolve 'react-native/Libraries/UTFSequence'
8 |
9 | // @ts-expect-error
> 10 | import UTFSequence from "react-native/Libraries/UTFSequence";
11 |
12 | import parseErrorStack from "../modules/parseErrorStack";
13 | import stringifySafe from "../modules/stringifySafe";
ERROR in ./node_modules/@expo/metro-runtime/build/error-overlay/modules/parseErrorStack/parseHermesStack.js:1
Module not found: Can't resolve 'react-native/Libraries/Core/Devtools/parseErrorStack'
> 1 | import parseErrorStack from "react-native/Libraries/Core/Devtools/parseErrorStack";
2 |
3 | export { parseErrorStack };
4 |
ERROR in ./node_modules/expo-asset/build/Asset.js:2
Module not found: Can't resolve 'react-native/Libraries/Image/AssetRegistry'
1 | import { Platform } from 'expo-modules-core';
> 2 | import { getAssetByID } from 'react-native/Libraries/Image/AssetRegistry';
3 |
4 | import { AssetMetadata, selectAssetSource } from './AssetSources';
5 | import * as AssetUris from './AssetUris';
ERROR in ./node_modules/expo-asset/build/resolveAssetSource.web.js:1
Module not found: Can't resolve 'react-native/Libraries/Image/AssetRegistry'
> 1 | import { getAssetByID } from 'react-native/Libraries/Image/AssetRegistry';
2 |
3 | import AssetSourceResolver, { ResolvedAssetSource } from './AssetSourceResolver';
4 |
ERROR in ./node_modules/expo-image/build/utils/resolveAssetSource.web.js:1
Module not found: Can't resolve 'react-native/Libraries/Image/AssetRegistry'
> 1 | import { getAssetByID } from 'react-native/Libraries/Image/AssetRegistry';
2 |
3 | import AssetSourceResolver, { ResolvedAssetSource } from './AssetSourceResolver.web';
4 |
web compiled with 5 errors and 6 warnings
from router.
This looks like you're using Webpack again, Webpack does not support Expo Router.
from router.
Related Issues (20)
- Stack for each Tab causes a redirect to non-existent screen HOT 1
- why is the dev server generating .gitignore HOT 1
- eas update fails with web: {...output: static,...} HOT 1
- Navigation Stack Issue with Incorrect Event Display HOT 1
- _layout inside a (tabs) folder throws error in navigation and gives me a blank screen HOT 5
- Bad start-up navigation with expo prebuild HOT 4
- Navigation twice on the first screen of a modal (only in production app) HOT 6
- Migration to expo-router-v2 breaks onLayout redirect HOT 2
- Template tabs@48 is broken HOT 3
- Metro has encountered an error: While trying to resolve module `stylis` HOT 2
- Expo Router V2 breaks when calling hook on destination page HOT 5
- Expo Router V2 Web - ScrollView in nested navigation is not showing up HOT 5
- Unable to nested dynamic route under shared HOT 5
- listeners prop do not have types
- Metro has encountered an error: While trying to resolve module stylis HOT 3
- Navigation between screens in different tabs does not work HOT 7
- Impossible to change router background in dark theme HOT 3
- Push notifications do not work when received. HOT 1
- Not able to pick initialRouteName in Expo Router when using stacked navigation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from router.