Coder Social home page Coder Social logo

react-craco-demo's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-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:

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.