Error on `npm install`
See original GitHub issueTrying to npm install
in a freshly-pulled repository throws:
SyntaxError: <…>/draft-js/src/component/base/DraftEditor.react.js: Missing class properties transform.
Full log:
https://gist.github.com/kangax/f02a97fca90c6b1b8b01a70259bea3b5
Could it be that https://babeljs.io/docs/plugins/transform-class-properties is somehow missing from installed dependencies?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Common errors | npm Docs
Possible temporary npm registry glitch, or corrupted local server cache. Run npm cache clean and/or try again later. · This can be caused...
Read more >npm install error from the terminal - Stack Overflow
Running just "npm install" will look for dependencies listed in your package.json. The error you're getting says that you don't have a package.json...
Read more >How to solve npm ERR! code 1 when running npm install
Fix npm error code 1 by updating your dependencies · Update one package version in package.json file · Then run npm install ·...
Read more >NPM install error - Material Design for Bootstrap
Trying to install MDB pro 4.19.2 just downloaded and ran npm install but getting this error of sha512 not matching. Can someone tell...
Read more >How to Solve the Angular NPM Error - C# Corner
The error in NPM, 'error package install failed, see above', can occur when the user creates a new project in Angular using Node.js...
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 FreeTop 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
Top GitHub Comments
Just checked clean install (not as submodule) and, as expected,
npm install
works. So it must be something about the fact that it’s under another repo that throws flow off?@gabelevi any idea what it could be?
oh, wait. gulpfile.js is generated. if i change it and then run gulp, gulp passes.so where else should i add the plugins if not to gulpfile.js?this works. thanks! (-: