cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice
https://www.chatwithgpt.ai
MIT License
2.3k stars 493 forks source link

build failed: Cannot find ESLint loader (eslint-loader) #7

Closed renxia closed 1 year ago

renxia commented 1 year ago
 npm run build

> chat-with-gpt@0.1.1 build
> craco build

craco:  *** Cannot find ESLint loader (eslint-loader). ***
Creating an optimized production build...
(node:183216) [DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK] DeprecationWarning: Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader
(Use `node --trace-deprecation ...` to show where the warning was created)
Failed to compile.

Module parse failed: Internal failure: parseVec could not cast the value
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
Error: Internal failure: parseVec could not cast the value

20230309221645

cogentapps commented 1 year ago

Thanks, fixed.

I also added a GitHub Action to check whether the build has any errors after each commit.