Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

build --watch error #1

Open
boka18 opened this issue Oct 14, 2021 · 2 comments
Open

build --watch error #1

boka18 opened this issue Oct 14, 2021 · 2 comments

Comments

@boka18
Copy link

boka18 commented Oct 14, 2021

Hey!

First of all - great yt tutorial!
But, I have a bit of a trouble running build --watch while developing the chrome extension. I always get this error:

Generated an empty chunk: "manifest"                                                     
rendering chunks (1)...[                                                                 
  {                                                                                      
    keyword: 'minItems',                                                                 
    dataPath: '.content_scripts[0].js',                                                  
    schemaPath: '#/minItems',                                                            
    params: { limit: 1 },                                                                
    message: 'should NOT have fewer than 1 items',                                       
    schema: 1,                                                                           
    parentSchema: { type: 'array', minItems: 1, uniqueItems: true, items: [Object] },    
    data: []                                                                             
  }                                                                                      
]                                                                                        
[chrome-extension] There were problems with the extension manifest.                      

Any ideas why is this happening or how to fix it?

@alvarosabu
Copy link
Owner

Hey there, @boka18 thanks! Do you have a reproduction link so I can help you with it?

@boka18
Copy link
Author

boka18 commented Oct 15, 2021

Thanks for the reply @alvarosaburido !

I don't have a reproduction link, but you should be able to reproduce the error directly on your codebase.
Just run yarn build --watch

But, by the looks of it, it's a known issue: StarkShang/vite-plugin-chrome-extension#6

The author of this library has pushed some changes on the refactor branch but it's still not working as expected.

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

No branches or pull requests

2 participants