-
Notifications
You must be signed in to change notification settings - Fork 3.4k
LESS 4.6.2 causing build error #4423
Copy link
Copy link
Closed
Labels
Description
To reproduce:
npm i with LESS set to ^4.5.1 or 4.6.2
running build with webpack
Current behavior:
webpack unable to build frontend applicaiton due to the following error
Module not found: Error: Can't resolve 'module' in 'C:\Users\xxx\git\xxx\node_modules\less\lib\less-node'
Expected behavior:
webpack builds normally
Environment information:
lessversion: 4.6.2nodejsversion: v24.0.0operating system: windows & linux debian (when building in server)webpack: 5.64.6
Able to resolve when locking LESS to 4.5.1 in package.json
Reactions are currently unavailable