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

unable to start the project due to next-with-less being deprecated #1

Open
harmeetsingh17 opened this issue Jan 4, 2022 · 0 comments

Comments

@harmeetsingh17
Copy link

cloned the project and ran npm i and npm run dev but got following error
Cannot set property 'styles' of undefined at module.exports (/Users/harmeet/web_development/e-commerce-starter/node_modules/@zeit/next-css/css-loader-config.js:25:56) at Object.webpack (/Users/harmeet/web_development/e-commerce-starter/node_modules/@zeit/next-less/index.js:20:37) at Object.getBaseWebpackConfig [as default] (/Users/harmeet/web_development/e-commerce-starter/node_modules/next/dist/build/webpack-config.js:1388:32) at async Promise.all (index 0) at async Span.traceAsyncFn (/Users/harmeet/web_development/e-commerce-starter/node_modules/next/dist/trace/trace.js:74:20) at async Span.traceAsyncFn (/Users/harmeet/web_development/e-commerce-starter/node_modules/next/dist/trace/trace.js:74:20) at async HotReloader.start (/Users/harmeet/web_development/e-commerce-starter/node_modules/next/dist/server/dev/hot-reloader.js:329:25) at async DevServer.prepare (/Users/harmeet/web_development/e-commerce-starter/node_modules/next/dist/server/dev/next-dev-server.js:296:9) at async /Users/harmeet/web_development/e-commerce-starter/node_modules/next/dist/cli/next-dev.js:130:9

how can i replace the @zeit/next-less ?

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

1 participant