pirelenito / generator-react-webpack-component Goto Github PK
View Code? Open in Web Editor NEWA Yeoman generator to create small and reusable React components using webpack as the build tool.
A Yeoman generator to create small and reusable React components using webpack as the build tool.
I tried using npm run dev recently and saw that it was failing. This is the error:
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v0.10.35
npm ERR! npm v2.1.17
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev: webpack-dev-server --inline --hot
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] dev script 'webpack-dev-server --inline --hot'.
npm ERR! This is most likely a problem with the react-loading-simple package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --inline --hot
npm ERR! You can get their info via:
npm ERR! npm owner ls react-loading-simple
npm ERR! There is likely additional logging output above.
I traced it back and found that the addition of these two lines in package.json caused the issue from the commit "locks dependencies on patch level":
"webpack": "~1.5.3",
"webpack-dev-server": "~1.7.0"
I changed the ~ back to ^ and npm run dev worked fine. Not sure what the issue would be, I checked to see if my global install of webpack was breaking this, but after I removed the global installs the issue was the same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.