GoogleChromeLabs/worker-plugin

worker-plugin loader dependency not found

rishabhgoel9797 opened this issue · 0 comments

I am using Vue.Js and I am trying to use worker in VueX

new Worker('worker.js', {type: 'module'}) created using this. worker.js and the store file of VueX are in same directory.

`* /Users/rishabhgoel/Desktop/Ui-Catalog/pyeongyang-ui-catalog/node_modules/worker-plugin/dist/loader.js?{"name":"0"}!worker.js in ./common/src/store/modules/catalog.js

To install it, you can run: npm install --save /Users/rishabhgoel/Desktop/Ui-Catalog/pyeongyang-ui-catalog/node_modules/worker-plugin/dist/loader.js?{"name":"0"}!worker.js`

Can you please help with this error. I am not able to find any solution for this :(