ERROR TypeError: Cannot read property 'tapPromise' of undefined
See original GitHub issueVersion
5.0.1
Environment info
Environment Info:
System:
OS: macOS 12.0.1
CPU: (8) x64 Apple M1
Binaries:
Node: 14.15.5 - /usr/local/bin/node
Yarn: 1.22.17 - ~/.yarn/bin/yarn
npm: 6.14.11 - /usr/local/bin/npm
Browsers:
Chrome: 98.0.4758.109
Edge: 96.0.1054.62
Firefox: Not Found
Safari: 15.1
npmPackages:
@element-plus/icons-vue: 0.2.7
@fortawesome/vue-fontawesome: ^3.0.0-3 => 3.0.0-5
@meforma/vue-toaster: ^1.3.0 => 1.3.0
@vue/babel-helper-vue-jsx-merge-props: 1.2.1
@vue/babel-helper-vue-transform-on: 1.0.2
@vue/babel-plugin-jsx: 1.1.1
@vue/babel-plugin-transform-vue-jsx: 1.2.1
@vue/babel-preset-app: 4.5.15
@vue/babel-preset-jsx: 1.2.4
@vue/babel-sugar-composition-api-inject-h: 1.2.1
@vue/babel-sugar-composition-api-render-instance: 1.2.4
@vue/babel-sugar-functional-vue: 1.2.2
@vue/babel-sugar-inject-h: 1.2.2
@vue/babel-sugar-v-model: 1.2.3
@vue/babel-sugar-v-on: 1.2.3
@vue/cli-overlay: 4.5.15
@vue/cli-plugin-babel: ~4.5.0 => 4.5.15
@vue/cli-plugin-eslint: ~4.5.0 => 4.5.15
@vue/cli-plugin-pwa: ~5.0.0 => 5.0.1
@vue/cli-plugin-router: 4.5.15
@vue/cli-plugin-vuex: 4.5.15
@vue/cli-service: ~4.5.0 => 4.5.15
@vue/cli-shared-utils: 4.5.15 (5.0.1)
@vue/compiler-core: 3.2.31
@vue/compiler-dom: 3.2.31
@vue/compiler-sfc: ^3.0.0 => 3.2.31
@vue/compiler-ssr: 3.2.31
@vue/component-compiler-utils: 3.3.0
@vue/devtools-api: 6.0.12
@vue/preload-webpack-plugin: 1.1.2
@vue/reactivity: 3.2.31
@vue/reactivity-transform: 3.2.31
@vue/runtime-core: 3.2.31
@vue/runtime-dom: 3.2.31
@vue/server-renderer: 3.2.31
@vue/shared: 3.2.31
@vue/web-component-wrapper: 1.3.0
eslint-plugin-vue: ^7.0.0 => 7.20.0
vue: ^3.0.0 => 3.2.31
vue-awesome-example: 2.0.0
vue-demi: 0.12.1
vue-eslint-parser: 7.11.0
vue-hot-reload-api: 2.3.4
vue-loader: 15.9.8 (16.8.3)
vue-router: ^4.0.6 => 4.0.13
vue-style-loader: 4.1.3
vue-template-es2015-compiler: 1.9.1
vue3-icon: 2.0.0
vue3-qrcode-reader: 0.0.1 => 0.0.1
vue3-snackbar: ^1.1.2 => 1.1.2
vuex: ^4.0.0 => 4.0.2
npmGlobalPackages:
@vue/cli: 5.0.1
Steps to reproduce
yarn build
What is expected?
Buidling success.
What is actually happening?
Just installed vue cli, and pwa plugin. Now, I can’t do yarn build.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
TypeError: Cannot read property 'tapPromise' of undefined
I had that problem, but with React. And the cause was an incompatibility between the compression plugin version and the Webpack version.
Read more >Cannot read property 'tapPromise' of undefined for webpack ...
Crash with the following error: ERROR TypeError: Cannot read property 'tapPromise' of undefined TypeError: Cannot read property 'tapPromise' ...
Read more >veu3.0打包报错TypeError: Cannot read property 'tapPromise ...
在使用compression-webpack-plugin 插件时报这个错误,原因是版本问题。 ERROR TypeError: Cannot read property 'tapPromise' of undefined TypeError: ...
Read more >TypeError: Cannot read property 'tapPromise' of undefined - 掘金
TypeError : Cannot read property 'tapPromise' of undefined compression-webpack-plugin 版本太高就会报下载npm.
Read more >TypeError: Cannot read property 'tapPromise' of undefined - 简书
使用VUE webpack进行打包时出现了ERROR TypeError:Cannot read property... YS_LI阅读11,566评论0赞3.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue, downgrading to
@vue/cli-plugin-pwa": "4.5.17"
solved it.It worked!