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.

Error: Cannot find module 'react'

See original GitHub issue
zangetsu@localhost ~/.hyper_plugins/local/hyperline $ hyper
Gtk-Message: Failed to load module "canberra-gtk-module"
{ Error: Cannot find module 'react'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (/opt/Hyper/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:73:18)
    at __webpack_require__ (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:20:30)
    at Object.<anonymous> (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:1334:64)
    at __webpack_require__ (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:20:30)
    at /home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:66:18 code: 'MODULE_NOT_FOUND' }
[Notification] Plugin error!: Plugin "hyperline" failed to load (Cannot find module 'react')
running in prod mode
electron will open file:///opt/Hyper/resources/app.asar/index.html
[Notification] Plugin error!: Plugin "hyperline" failed to load (Cannot find module 'react')
Checking for notification messages
ignoring auto updates during dev
No matching notification messages

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:12

github_iconTop GitHub Comments

28reactions
mlobergcommented, Dec 7, 2017

Using version “0.6.1” fixed Hyperline for me. Use hyperline#0.6.1 instead of hyperline in your plugins list.

5reactions
ButchAntoncommented, Dec 28, 2017

I was experiencing the same problem. After forcing hyperline version 0.6.1, things started working again. If it doesn’t immediately work, make sure you delete the .hyper_plugins directory and do a full reload of the plugins from within hyper.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'react' - Stack Overflow
You are planning to use react inside typescript. Try this npm install --save react react-dom @types/react @types/react-dom.
Read more >
Cannot find module 'react' Error in TypeScript | bobbyhadz
To solve the "Cannot find module react or its corresponding type declarations" error, install the module and its type definitions by running the...
Read more >
Fix - Cannot find module 'react' error - Reactgo
The can't find module 'react' error occurs, if you're trying to access a react module that is not currently installed in your project....
Read more >
Error "Cannot find module 'react' or its corresponding type ...
Hi @johnjohn-0472,. According to my research and testing, please try to set moduleResolution to node in your tsconfig.json file. ... If the error ......
Read more >
Error: Cannot find module 'react' - after installing Plugin · Issue ...
here is got the error: ERROR There was a problem loading the local develop command. Gatsby may not be installed. Perhaps you need...
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