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.

Cannot find module 'exponent/tools/hashAssetFiles'

See original GitHub issue

Creating an empty project. While running it, I get.

Error: Cannot find module 'exponent/tools/hashAssetFiles'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Bundler._applyAssetPlugins (/Users/iraycd/video/node_modules/react-native/packager/react-packager/src/Bundler/index.js:719:33)
    at _assetServer.getAssetData.then.then.res (/Users/iraycd/video/node_modules/react-native/packager/react-packager/src/Bundler/index.js:695:19)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:8
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

7reactions
brentvatnecommented, Mar 9, 2017

oooh I see, you put expo under devDependencies. that should be under dependencies

3reactions
vyshkantcommented, Feb 22, 2018

oooh I see, you put expo under devDependencies. that should be under dependencies

@brentvatne Could you please explain why? I’m using expo while I’m developing “MyPackage”, is it nessecary to run “MyPackage” on prod environment?

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >
Solved: Cannot find module react : npm install - YouTube
Your browser can't play this video. Learn more. Switch camera ... Solved: Cannot find module react : npm install. 58K views 3 years...
Read more >
Build Fails - Cannot find module
I have node version 14.17.2 (LTS). The tests works successfully locally. But travis is saying 'Cannot find Module': Installing SSH key from: ...
Read more >
Cannot find module 'cws' : r/ShinobiCCTV
Cannot find module 'cws'. Fresh install bare metal CentOS 7 minimal ISO. Linux blah 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC ...
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