Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot serve and build #683

Open
ckissi opened this issue Mar 21, 2022 · 3 comments
Open

Cannot serve and build #683

ckissi opened this issue Mar 21, 2022 · 3 comments

Comments

@ckissi
Copy link

ckissi commented Mar 21, 2022

I cannot build , even npm run serve doesn't work

To Reproduce
npm run build

 ERROR  TypeError: Cannot read property 'ignore' of undefined
TypeError: Cannot read property 'ignore' of undefined
    at /Users/csabakissi/ChromeExt/my-extension/node_modules/vue-cli-plugin-browser-extension/index.js:129:20
    at Object.tap (/Users/csabakissi/ChromeExt/my-extension/node_modules/webpack-chain/src/Plugin.js:30:24)
    at /Users/csabakissi/ChromeExt/my-extension/node_modules/vue-cli-plugin-browser-extension/index.js:128:36
    at /Users/csabakissi/ChromeExt/my-extension/node_modules/@vue/cli-service/lib/Service.js:268:40
    at Array.forEach (<anonymous>)
    at Service.resolveChainableWebpackConfig (/Users/csabakissi/ChromeExt/my-extension/node_modules/@vue/cli-service/lib/Service.js:268:26)
    at PluginAPI.resolveChainableWebpackConfig (/Users/csabakissi/ChromeExt/my-extension/node_modules/@vue/cli-service/lib/PluginAPI.js:145:25)
    at module.exports (/Users/csabakissi/ChromeExt/my-extension/node_modules/@vue/cli-service/lib/commands/build/resolveAppConfig.js:9:22)
    at build (/Users/csabakissi/ChromeExt/my-extension/node_modules/@vue/cli-service/lib/commands/build/index.js:147:50)
    at /Users/csabakissi/ChromeExt/my-extension/node_modules/@vue/cli-service/lib/commands/build/index.js:77:13
    at Service.run (/Users/csabakissi/ChromeExt/my-extension/node_modules/@vue/cli-service/lib/Service.js:262:12)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

Desktop (please complete the following information):

Tried on second computer with the same result.

@Kocal
Copy link
Owner

Kocal commented Mar 21, 2022

Hi, looks like the issue is coming from https://github.com/adambullmer/vue-cli-plugin-browser-extension

@webjosn
Copy link

webjosn commented Jul 11, 2022

Excuse me, has this problem been solved

@choxner
Copy link

choxner commented Feb 21, 2023

In package.json you can change "vue-cli-plugin-browser-extension": "latest" to "vue-cli-plugin-browser-extension": "npm:@rhilip/vue-cli-plugin-browser-extension@^0.26.0". Then remove your node_modules folder and run npm i to reinstall. Had the same issue and this resolved it for me.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants