Missing dependencies for `create-react-class` and `prop-types`
See original GitHub issueHey, My build is failing because of a recent update of this library.
Log -
Error: Cannot find module 'create-react-class'
at Function.Module._resolveFilename (module.js:470:15)
at Function._resolveFilename (/home/uv/dev/t2k-js-common/node_modules/mocha-webpack/lib/util/registerRequireHook.js:42:34)
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/uv/dev/t2k-js-common/node_modules/react-input-autosize/lib/AutosizeInput.js:7:19)
at Module._compile (module.js:571:32)
at Module._extensions..js (module.js:580:10)
...
Seems like you added usage to a library but forgot to add it to dependency\peer dependency. Thanks in advance.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:62
- Comments:19 (1 by maintainers)
Top Results From Across the Web
Missing dependencies for `create-react-class` and `prop-types`
Hey, My build is failing because of a recent update of this library. Log - Error: Cannot find module 'create-react-class' at Function.Module.
Read more >Disable React.createClass and PropTypes deprecated ...
PropTypes has been deprecated in v15.5. Some Peers/dependencies must be using React.createClass and React.PropTypes with React:^15.4 (or any ...
Read more >create-react-class - npm Package Health Analysis - Snyk
Is create-react-class safe to use? The npm package create-react-class was scanned for known vulnerabilities and missing license, and no issues were found. Thus ......
Read more >Typechecking With PropTypes - React
To run typechecking on the props for a component, you can assign the special propTypes property: import PropTypes from 'prop-types'; class Greeting extends ......
Read more >eslint-plugin-react - npm
Maintenance Status NPM version Build Status Dependency Status Coverage ... react/prop-types: Prevent missing props validation in a React ...
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
Sigh you broke the internet
Temporary fix:
npm install --save react-input-autosize@1.1.0