Error: Cannot find module 'react'
See original GitHub issuezangetsu@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:
- Created 6 years ago
- Reactions:3
- Comments:12
Top 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 >
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
Using version “0.6.1” fixed Hyperline for me. Use
hyperline#0.6.1
instead ofhyperline
in your plugins list.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.