Compiled with problems:

Author: tanvir410Created Oct 22, 2024Updated Oct 28, 2024

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

Source: ant-design/ant-design-landing