Unable to resolve "react-navigation-drawer" on the blank app

Description

After all the updates: Expo SDK to 36.0, expo-cli to 3.11.3 I installed a blank application using expo init using the tabs template.
First, the splash screen starts to open, and then an error is issued:

Unable to resolve "react-navigation-drawer" from "node_modules\react-navigation\src\react-navigation.js"
Failed building JavaScript bundle.

The commands
npm install --save core-js@^3
npm install react-native-screens
npm install -g react-navigation-drawer
also did not help

Environment

Expo CLI 3.11.3 environment info:
System:
OS: Windows 10
Binaries:
npm: 6.13.4 - C:\Users\Owner\AppData\Roaming\npm\npm.CMD
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.6010548

  • Phone/emulator/simulator platform, model and version:

Phone LG K9 Model LMX210NMW,
OS Android 7.1.2
Expo client version: 2.14.0

This installs packages globally. Use npm install react-navigation-drawer

I used to think that -g from project directory automatically installs the package both globally and in the current project. Thank you very much, your advice helped.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.