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
Use npm as package manager (but it happens with yarn as well)
Use separated config files (just in case it matters)
cd into folder
run npm build
What is expected?
Build completes successfully
What is actually happening?
Build fails with the following error
> vue-cli-service build
| Building for production...buffer.js:202
throw new TypeError(kFromErrorMsg);
^
TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
at Function.Buffer.from (buffer.js:202:9)
at new Buffer (buffer.js:158:17)
at writeOut (C:\Users\gcond\Documents\Progetti\demo-ts-4\node_modules\webpack\lib\Compiler.js:334:17)
at require.forEach (C:\Users\gcond\Documents\Progetti\demo-ts-4\node_modules\webpack\lib\Compiler.js:345:12)
at C:\Users\gcond\Documents\Progetti\demo-ts-4\node_modules\async\dist\async.js:3096:16
at eachOfArrayLike (C:\Users\gcond\Documents\Progetti\demo-ts-4\node_modules\async\dist\async.js:1055:9)
at eachOf (C:\Users\gcond\Documents\Progetti\demo-ts-4\node_modules\async\dist\async.js:1103:5)
at Object.eachLimit (C:\Users\gcond\Documents\Progetti\demo-ts-4\node_modules\async\dist\async.js:3158:5)
at emitFiles (C:\Users\gcond\Documents\Progetti\demo-ts-4\node_modules\webpack\lib\Compiler.js:315:21)
at C:\Users\gcond\Documents\Progetti\demo-ts-4\node_modules\mkdirp\index.js:30:20
at FSReqWrap.oncomplete (fs.js:135:15)
Since it was working fine before, I suppose the PWA plugin is pulling in a transitive dependency that's not compatibile anymore...
The text was updated successfully, but these errors were encountered:
workbox-webpack-plugin@3.0.0-beta.0 which depends on
workbox-*@^3.0.0-beta.0 which pulls in
workbox-*@3.0.0-beta.1 which is probably not compatible...
If I manually change the depenency to workbox-webpack-plugin@3.0.0-beta.1 then everything works. I suppose it's better if it was declared as ^3.0.0-beta.0
Version
3.0.0-beta.1
Reproduction link
https://github.com/nanomad/vue-cli-pwa-build-failure
Steps to reproduce
What is expected?
Build completes successfully
What is actually happening?
Build fails with the following error
Since it was working fine before, I suppose the PWA plugin is pulling in a transitive dependency that's not compatibile anymore...
The text was updated successfully, but these errors were encountered: