admin管理员组

文章数量:1403217

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
Add a comment  | 

1 Answer 1

Reset to default 0

You 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.

本文标签: Unable to resolve module UtilitiesPlatform in React Native Expo ProjectStack Overflow