Error: Cannot find module 'prop-types'
See original GitHub issueDoes not load and throws an Error in dev tools:
bundle.js:1 Error: Cannot find module 'prop-types'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/Applications/Hyper.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Function.c._load (file:///Applications/Hyper.app/Contents/Resources/app.asar/renderer/bundle.js:1:8001)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/gbriel/.hyper_plugins/node_modules/hyperline/dist/hyperline.js:128:18)
at __webpack_require__ (/Users/gbriel/.hyper_plugins/node_modules/hyperline/dist/hyperline.js:20:30)
at Object.<anonymous> (/Users/gbriel/.hyper_plugins/node_modules/hyperline/dist/hyperline.js:1339:69)
at __webpack_require__ (/Users/gbriel/.hyper_plugins/node_modules/hyperline/dist/hyperline.js:20:30)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:25
- Comments:8 (1 by maintainers)
Top Results From Across the Web
React prop-types error - Stack Overflow
As of React 15.5.0, PropTypes have been removed from the core React package as a separate dependency. To fix this, add prop-types into...
Read more >prop-types - npm
Runtime type checking for React props and similar objects. You can use prop-types to document the intended types of properties passed to ...
Read more >Could not find a declaration file for module 'prop-types' #2254
It was solved by installing @types/prop-types. npm i -D @types/prop-types. Should that be added as a dependency for office-ui-fabric-react ...
Read more >Don't Call PropTypes Warning - React
This happens because React doesn't see a “secret” last argument that it passes to detect manual PropTypes calls. Here is how to fix...
Read more >Prop-types could not be found within the project
I am getting below error when I start the App. [Output] Error: Unable to resolve module prop-types from <PROJECT_ROOT>\node_modules\react-native ...
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
I had the same issue so rolled back (as suggested by @mloberg in issue Error: Cannot find module ‘react’ “Using version “0.6.1” fixed Hyperline for me. Use hyperline#0.6.1 instead of hyperline in your plugins list.”)