expo/examples

Cannot run the `with-router-tailwind` example

Lemon1903 opened this issue · 2 comments

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

  • OS: Windows 11
  • Browser: Edge
  • Version: 121.0.2277.98 (Official build)

Same issue for me as well.

This thread solved it for me: parcel-bundler/parcel#7104