less / less.js

Less. The dynamic stylesheet language.
http://lesscss.org
Apache License 2.0
17k stars 3.41k forks source link

klona' do not define a valid './full' target #3645

Closed CaptainJon closed 3 years ago

CaptainJon commented 3 years ago

I am getting this error while trying to complie a less file in js, here is what i installed. I think this error is about the verison of less I installed, just not sure about it. It works well with just css-loader and style-loader. Howerver when I put css-loader in webpack.module.rules. it came up with the error in the pic. I tried to installed many versions of less, the error either keeps the same or another diffrent one. I really need some help coz I basicly couldnt find helpful info from changelog Node: v13+ "webpack": "^4.46.0", "less-loader": "^7.3.0", "css-loader": "^4.3.0"

image

image

image

image

CaptainJon commented 3 years ago

ops! installed wrong version of less-loader, with "less": "^3.13.1" and "less-loader": "^6.0.0", it works fine.