We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latest
From a clean clone of this repo, the ch14 example fails at npm start: ben-15:redux-netflix ben$ npm start
npm start
[email protected] start /Users/ben/src/react-quickly/ch14/redux-netflix concurrently "webpack --watch --config webpack.config.js" "webpack-dev-server" [1] http://localhost:8080/webpack-dev-server/ [1] webpack result is served from / [1] content is served from /Users/ben/src/react-quickly/ch14/redux-netflix [0] Hash: ebff2e30884cfa7a06fe [0] Version: webpack 1.13.1 [0] Time: 938ms [0] Asset Size Chunks Chunk Names [0] index.js 272 kB 0 [emitted] index [0] [0] multi index 40 bytes {0} [built] [1 error] [0] + 328 hidden modules [0] [0] ERROR in ./src/index.js [0] Module build failed: Error: Couldn't find preset "latest" relative to directory "/Users/ben/src"
This seems related to the deprecation of babel-preset-latest.
I tried to resolve by switching to babel-preset-env as instructed in http://babeljs.io/env , but i am not yet skilled at webpack config.
The text was updated successfully, but these errors were encountered:
tryng t get ch 14 build giong bit hit azat-co/react-quickly#19
13828a4
Try do this:
.babelrc
{ "presets":["react", "es2015"] }
npm i -save-dev babel-preset-react babel-preset-es2015
{ test: /\.js?$/, exclude: /(node_modules)/, loader: 'babel-loader' }
Sorry, something went wrong.
No branches or pull requests
From a clean clone of this repo, the ch14 example fails at
npm start
:ben-15:redux-netflix ben$ npm start
This seems related to the deprecation of babel-preset-latest.
I tried to resolve by switching to babel-preset-env as instructed in http://babeljs.io/env , but i am not yet skilled at webpack config.
The text was updated successfully, but these errors were encountered: