question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

exp detach Cannot find module 'path-exists'

See original GitHub issue

Environment

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

  1. 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
3axap4eHkocommented, Mar 22, 2018

@terribleben I’m using yarn

0reactions
StudioAlephcommented, Jun 10, 2018

when I run exp build:android it gives me this error

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found