Skip to content
New issue

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

Compiled with problems: #408

Open
tanvir410 opened this issue Oct 22, 2024 · 0 comments
Open

Compiled with problems: #408

tanvir410 opened this issue Oct 22, 2024 · 0 comments

Comments

@tanvir410
Copy link

ERROR in ./src/Home/less/antMotionStyle.less (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[9].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[9].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[1].oneOf[9].use[3]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[9].use[4]!./src/Home/less/antMotionStyle.less)
Module build failed (from ./node_modules/less-loader/dist/cjs.js):

@import "antd/es/style/themes/default.less";
^
Less resolver error:
'antd/es/style/themes/default.less' wasn't found. Tried - D:\test\my-landing-page\src\Home\less\antd\es\style\themes\default.less,npm://antd\es\style\themes\default.less,antd\es\style\themes\default.less

Webpack resolver error details:
resolve 'antd/es/style/themes/default.less' in 'D:\test\my-landing-page\src\Home\less'
Parsed request is a module
using description file: D:\test\my-landing-page\package.json (relative path: ./src/Home/less)
using description file: D:\test\my-landing-page\package.json (relative path: ./src/Home/less/antd/es/style/themes/default.less)
no extension
D:\test\my-landing-page\src\Home\less\antd\es\style\themes\default.less doesn't exist
.less
D:\test\my-landing-page\src\Home\less\antd\es\style\themes\default.less.less doesn't exist
.css
D:\test\my-landing-page\src\Home\less\antd\es\style\themes\default.less.css doesn't exist
as directory
D:\test\my-landing-page\src\Home\less\antd\es\style\themes\default.less doesn't exist
resolve as module
D:\test\my-landing-page\src\Home\less\node_modules doesn't exist or is not a directory
D:\test\my-landing-page\src\Home\node_modules doesn't exist or is not a directory
D:\test\my-landing-page\src\node_modules doesn't exist or is not a directory
looking for modules in D:\test\my-landing-page\node_modules
existing directory D:\test\my-landing-page\node_modules\antd
using description file: D:\test\my-landing-page\node_modules\antd\package.json (relative path: .)
using description file: D:\test\my-landing-page\node_modules\antd\package.json (relative path: ./es/style/themes/default.less)
no extension
D:\test\my-landing-page\node_modules\antd\es\style\themes\default.less doesn't exist
.less
D:\test\my-landing-page\node_modules\antd\es\style\themes\default.less.less doesn't exist
.css
D:\test\my-landing-page\node_modules\antd\es\style\themes\default.less.css doesn't exist
as directory
D:\test\my-landing-page\node_modules\antd\es\style\themes\default.less doesn't exist
D:\test\node_modules doesn't exist or is not a directory
D:\node_modules doesn't exist or is not a directory
looking for modules in D:\test\my-landing-page\node_modules
existing directory D:\test\my-landing-page\node_modules\antd
using description file: D:\test\my-landing-page\node_modules\antd\package.json (relative path: .)
using description file: D:\test\my-landing-page\node_modules\antd\package.json (relative path: ./es/style/themes/default.less)
no extension
D:\test\my-landing-page\node_modules\antd\es\style\themes\default.less doesn't exist
.less
D:\test\my-landing-page\node_modules\antd\es\style\themes\default.less.less doesn't exist
.css
D:\test\my-landing-page\node_modules\antd\es\style\themes\default.less.css doesn't exist
as directory
D:\test\my-landing-page\node_modules\antd\es\style\themes\default.less doesn't exist

Webpack resolver error missing:
undefined

  Error in D:\test\my-landing-page\src\Home\less\custom.less (line 1, column 0)

ERROR
[eslint]
src\index.js
Line 9:1: 'serviceWorker' is not defined no-undef

Search for the keywords to learn more about each error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@tanvir410 and others