You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does create the cache directory and it said "webpack 5.76.2 compiled successfully" but i got the following errors:
/Applications/MAMP/htdocs/nest-playground/node_modules/webpack/lib/HookWebpackError.js:68
callback(null, result);
^
TypeError: callback is not a function
at /Applications/MAMP/htdocs/nest-playground/node_modules/webpack/lib/HookWebpackError.js:68:3
at _done (eval at create (/Applications/MAMP/htdocs/nest-playground/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
at eval (eval at create (/Applications/MAMP/htdocs/nest-playground/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:34:22)
Is there an existing issue for this?
Current behavior
webpack/webpack#12345
compiler.close() should be called somewhere.
I tried to fix it by calling compiler.close() in lib/compiler/webpack-compiler.ts but it does now work
Minimum reproduction code
https://github.com/hkjeffchan/nestjsCliWebpackCacheDemo
Steps to reproduce
npm run build
does not produce the webpack file cachenpm run start:dev
does produce the webpack file cacheExpected behavior
npm run build
should produce the webpack file cachePackage version
9.3.0
NestJS version
9.3.11
Node.js version
18.15.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: