None of these files exist: * node_modules\react-native\Libraries\Utilities\Platform(.web.ts|.ts|.web.tsx|.tsx|.web.mjs|.mjs|.web.js|.js|.web.jsx|.jsx|.web.json|.json|.web.cjs|.cjs|.web.scss|.scss|.web.sass|.sass|.web.cs
What I've Tried:
Cleared Cache:
Reinstalled node modules:
Checked for correct dependency versions using:
Verified the actual existence of the Platform module in the node_modules directory.
Additional Information:
I have recently removed deprecated packages like expo-permissions and fixed compatibility issues using npx expo install.
I am not sure if this could be a module resolution issue or a misconfiguration.
How can I resolve this error and get my project running again?
None of these files exist: * node_modules\react-native\Libraries\Utilities\Platform(.web.ts|.ts|.web.tsx|.tsx|.web.mjs|.mjs|.web.js|.js|.web.jsx|.jsx|.web.json|.json|.web.cjs|.cjs|.web.scss|.scss|.web.sass|.sass|.web.cs
What I've Tried:
Cleared Cache:
Reinstalled node modules:
Checked for correct dependency versions using:
Verified the actual existence of the Platform module in the node_modules directory.
Additional Information:
I have recently removed deprecated packages like expo-permissions and fixed compatibility issues using npx expo install.
I am not sure if this could be a module resolution issue or a misconfiguration.
How can I resolve this error and get my project running again?
Share Improve this question asked Mar 20 at 18:30 Prithvi Singh ChauhanPrithvi Singh Chauhan 11 bronze badge 1- Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Bot Commented Mar 23 at 19:16
1 Answer
Reset to default 0You need to take a development build using EAS. Run the following command to create a development build and try running your project again:
eas build --profile development --platform android
or
eas build --profile development --platform ios
After the build is complete, install the generated build on your device or emulator and run:
npx expo start --dev-client
This will ensure all dependencies are properly linked and avoid module resolution issues.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744390106a4571864.html
评论列表(0条)