exp detach Cannot find module 'path-exists'
See original GitHub issueEnvironment
Environment: OS: macOS Sierra 10.12.6 Node: 9.5.0 Yarn: 1.3.2 npm: 5.6.0 Watchman: 4.7.0 Xcode: Xcode 9.2 Build version 9C40b Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed) expo: ^25.0.0 => 25.0.0 react: ^16.2.0 => 16.2.0 react-native: 0.52 => 0.52.3
Diagnostics report: https://exp-xde-diagnostics.s3.amazonaws.com/3axap4ehko-61c4c3a3-a853-40f9-a7da-039de79066cc.tar.gz
Steps to Reproduce
EXPO_DEBUG=true exp detach
Expected Behavior
Should finish without errors
Actual Behavior
12:16:43 [exp] Cannot find module 'path-exists'
12:16:43 [exp] Error: Cannot find module 'path-exists'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at _load_pathExists (/xdl/src/detach/installPackageAsync.js:4:1)
at /xdl/src/detach/installPackageAsync.js:19:34
at Generator.next (<anonymous>)
at step (/usr/local/lib/node_modules/exp/node_modules/xdl/build/detach/installPackageAsync.js:23:191)
at /usr/local/lib/node_modules/exp/node_modules/xdl/build/detach/installPackageAsync.js:23:437
at new Promise (<anonymous>)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Error: Cannot find module '/package.json' · Issue #1353 - GitHub
Dashboard app unable to start, displaying error message. After starting the Cube.js development server $ npm run dev Navigate to "Dashboard ...
Read more >How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >node-scp - npm
A lightweight, fast and secure module to perform SCP commands for NodeJS ... commands on remote server: mkdir , stat , check if...
Read more >Node.js — Check If a Path or File Exists - Future Studio
Asynchronously Check if a File Exists in Node.js ... The fs module in Node.js comes with a deprecated exists method. It's recommended not...
Read more >How to resolve can't find module error in Node.js - Reactgo
To fix Cannot find module errors, install the modules properly by running a npm install ... npm install your-module-name npm install express.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@terribleben I’m using yarn
when I run exp build:android it gives me this error