Skip to content

执行 “npm install -g @vue/cli npm install -g @vue/cli-init vue create --preset kocal/vue-web-extension my-extension” 提示Error resolving webpackConfig TypeError: Cannot read property 'ignore' of undefined .. ....new-tab-page\node_modules\vue-cli-plugin-browser-extension\index.js:129:20 #687

@myFingerTip

Description

@myFingerTip

Describe the bug
Error reported in initialization project

To Reproduce
Steps to reproduce the behavior:

  1. npm install -g @vue/cli
  2. npm install -g @vue/cli-init
  3. vue create --preset kocal/vue-web-extension my-extension
  4. @vue/cli-plugin-eslint: Standard Lint on save
  5. vue-cli-plugin-browser-extension:Which browser extension components do you wish to generate? background, popup, options, content scripts, override,
    standalone, dev tools;Generate a new signing key (danger)? No
    6.Preset options:? Install axios? Yes
    7.Running completion hooks... Error resolving webpackConfig TypeError: Cannot read property 'ignore' of undefined at D:\chrome_plugins\c_tab\new-tab-page\node_modules\vue-cli-plugin-browser-extension\index.js:129:20

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • vue-web-extension version: ...
  • OS: Windows 10 企业版 22H2
  • Node.js version: v14.20.0
  • @vue/cli 5.0.8
  • npm 6.14.17
    Additional context
    Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions