You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
expo start throws an ENOENT error using the latest expo-cli and following a successful expo init
Steps:
Installed the new expo-cli - yarn global add expo-cli
Ran expo init in a fresh directory
Updated package.json, built my project
When I ran expo start, it didn't recognize expo-cli as being installed and threw an error when trying to install it (see below)
When I run expo-cli start, the project builds, devtools opens and expo works as expected
Expected Behavior
Expect expo start to work without having to invoke expo-cli
(By the way is there any difference?)
Observed Behavior
> expo start
This command requires Expo CLI.
Do you want to install it globally [Y/n]? Y
Installing the package 'expo-cli'...
events.js:183
throw er; // Unhandled 'error' event
^
Error: spawn npm ENOENT
at _errnoException (util.js:992:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Environment
Please run expo diagnostics in the project folder and copy the output here:
I get the exact same error as above.
Windows 10
The text was updated successfully, but these errors were encountered:
I'm having a similar problem with jest-expo, where the jest command doesn't seem to spawn any child process and just exits right away. I have to run node .\node_modules\jest\bin\jest.js to get it to work.
Updated to the latest node for Windows (8.11.3 -> 8.12.0) and it doesn't make a difference.
Description
expo start
throws an ENOENT error using the latest expo-cli and following a successfulexpo init
Steps:
yarn global add expo-cli
expo init
in a fresh directoryexpo start
, it didn't recognize expo-cli as being installed and threw an error when trying to install it (see below)expo-cli start
, the project builds, devtools opens and expo works as expectedExpected Behavior
Expect
expo start
to work without having to invokeexpo-cli
(By the way is there any difference?)
Observed Behavior
Environment
Please run
expo diagnostics
in the project folder and copy the output here:I get the exact same error as above.
Windows 10
The text was updated successfully, but these errors were encountered: