react-craco-demo's People
Forkers
liuweiyibai sanyu1225 tianya1015 yiqun8313 zerocsss forkcoding lowinc swvv xwesleywenx ruanjq employeesnsreact-craco-demo's Issues
analyzer not work
$ yarn analyzer
yarn run v1.22.4
warning ../package.json: No license field
$ env NODE_ENV=production BUILD_ANALYZER=true yarn start
warning ../package.json: No license field
$ craco start FAST_REFRESH=true
Webpack: Starting ...
(node:58773) UnhandledPromiseRejectionWarning: Error: Found an unhandled loader in the production webpack config: /Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/style-loader/index.js
This error probably occurred because you updated react-scripts or craco. Please try updating craco-less to the latest version:
$ yarn upgrade craco-less
Or:
$ npm update craco-less
If that doesn't work, craco-less needs to be fixed to support the latest version.
Please check to see if there's already an issue in the FormAPI/craco-less repo:
If not, please open an issue and we'll take a look. (Or you can send a PR!)
You might also want to look for related issues in the craco and create-react-app repos:
- https://github.com/sharegate/craco/issues?q=is%3Aissue+webpack+unknown+rule
- https://github.com/facebook/create-react-app/issues?q=is%3Aissue+webpack+unknown+rule
at throwUnexpectedConfigError (/Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/@craco/craco/lib/plugin-utils.js:29:11)
at throwError (/Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/craco-less/lib/craco-less.js:14:5)
at /Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/craco-less/lib/craco-less.js:119:7
at Array.forEach (<anonymous>)
at Object.overrideWebpackConfig (/Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/craco-less/lib/craco-less.js:51:11)
at Object.overrideWebpackConfig (/Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/craco-antd/lib/craco-antd.js:64:26)
at overrideWebpack (/Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/@craco/craco/lib/features/plugins.js:42:40)
at /Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/@craco/craco/lib/features/plugins.js:64:29
at Array.forEach (<anonymous>)
at applyWebpackConfigPlugins (/Users/wangyue92/Desktop/componentHub/react-craco-demo/node_modules/@craco/craco/lib/features/plugins.js:63:29)
(node:58773) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
✨ Done in 5.44s.
craco未找到
craco配置并没有啊??
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.