pankod / superplate

A well-structured production-ready frontend boilerplate with Typescript, React Testing Library, styled-component, React Query, .env, Axios, Bundle Analyzer, Prettier and 30+ plugins. superplate creates projects for React.js, Next.js, and refine. https://pankod.github.io/superplate/

Home Page:https://pankod.github.io/superplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'yarn dev' gives error with superplate

praveen0311 opened this issue · comments

yarn run v1.22.15
warning ......\package.json: No license field
$ craco start
(node:8940) UnhandledPromiseRejectionWarning: Error: Can't find file-loader in the developmen
t webpack config!

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 DocSpring/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:

same error

Hey,
We've updated craco-less to v2. Could you try again?

Hey, We've updated craco-less to v2. Could you try again?

yes i can confirm it's working with craco v2
jusg got an error with Failed to parse source map from ../superplate/node_modules/export-to-csv/build/export-to-csv.js.map'
but the project builds and works!
thanks!

Hey, We've updated craco-less to v2. Could you try again?

yes i can confirm it's working with craco v2 jusg got an error with Failed to parse source map from ../superplate/node_modules/export-to-csv/build/export-to-csv.js.map' but the project builds and works! thanks!

Many thanks for the quick response! Let's go!

Other error is related to CRA@5 :(