Hi
Using expo for building web app and for some components like Date input, I need to import css files. Expo publish fails and gives error “Module not resolved” for css files.
Here is another example for timline library. Deployed Web App works fine so expo-build is working great and deployed on tomcat. No complaints there. Just publish is not working as below…
Unable to resolve module ./styles/timeline-vis.css from /home/*****/screens/VisJSTimeline.tsx:
None of these files exist:
- screens/styles/timeline-vis.css(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)
- screens/styles/timeline-vis.css/index(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)
expo log
WARNING: expo-cli has not yet been tested against Node.js v16.0.0.
If you encounter any issues, please report them to Issues · expo/expo-cli · GitHub
expo-cli supports following Node.js versions:
-
=12.13.0 <13.0.0 (Maintenance LTS)
-
=14.0.0 <15.0.0 (Active LTS)
-
=15.0.0 <17.0.0 (Current Release)
Expo CLI 4.4.8 environment info:
System:
OS: Linux 5.4 Ubuntu 18.04.4 LTS (Bionic Beaver)
Shell: 4.4.20 - /bin/bash
Binaries:
Node: 16.0.0 - ~/.nvm/versions/node/v16.0.0/bin/node
Yarn: 1.22.4 - /usr/bin/yarn
npm: 7.10.0 - ~/.nvm/versions/node/v16.0.0/bin/npm
SDKs:
Android SDK:
API Levels: 26, 28, 29
Build Tools: 28.0.3, 29.0.3
System Images: android-29 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
npmPackages:
@expo/webpack-config: ^0.12.68 => 0.12.70
expo: ^41.0.1 => 41.0.1
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-native: https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz => 0.63.2
react-native-web: ~0.15.7 => 0.15.7
npmGlobalPackages:
expo-cli: 4.4.8
Expo Workflow: managed