expo / examples

Example projects that demonstrate how to use Expo APIs and integrate Expo with other popular tools
2.37k stars 892 forks source link

Cannot run the `with-router-tailwind` example #466

Open Lemon1903 opened 9 months ago

Lemon1903 commented 9 months ago

Describe the bug When running the with-router-tailwind example, it produces this error stack:

Error: Cannot find module '../lightningcss.win32-ia32-msvc.node'
Require stack:
- D:\<User>\expo-examples\with-router-tailwind\node_modules\react-native-css-interop\node_modules\lightningcss\node\index.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\react-native-css-interop\dist\css-to-rn\index.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\react-native-css-interop\dist\metro\poll-updates-server.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\react-native-css-interop\dist\metro\index.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\nativewind\dist\metro\index.js
- D:\<User>\expo-examples\with-router-tailwind\metro.config.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\import-fresh\index.js 
- D:\<User>\expo-examples\with-router-tailwind\node_modules\cosmiconfig\dist\loaders.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\cosmiconfig\dist\createExplorer.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\cosmiconfig\dist\index.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\metro-config\src\loadConfig.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\metro-config\src\index.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\@expo\cli\build\src\start\server\metro\instantiateMetro.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\@expo\cli\build\src\start\server\metro\MetroBundlerDevServer.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\@expo\cli\build\src\start\server\DevServerManager.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\@expo\cli\build\src\start\startAsync.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\@expo\cli\build\src\start\index.js
- D:\<User>\expo-examples\with-router-tailwind\node_modules\@expo\cli\build\bin\cli
- D:\<User>\expo-examples\with-router-tailwind\node_modules\expo\bin\cli

To Reproduce Just run the example using npm start or npx expo start

Desktop

AbhieShinde commented 9 months ago

Same issue for me as well.

GuillermoDylan commented 5 months ago

This thread solved it for me: https://github.com/parcel-bundler/parcel/issues/7104