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

Stock on Chrome Extension #68

Closed
neydor21 opened this issue Oct 29, 2024 · 9 comments
Closed

Stock on Chrome Extension #68

neydor21 opened this issue Oct 29, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@neydor21
Copy link

I was able to run the project, but the last part I'm getting an error with the chrome extension. Any Suggestions?

Screenshot 2024-10-29 095752
Screenshot 2024-10-29 095902

@mtalcott
Copy link
Owner

mtalcott commented Nov 1, 2024

Hi @neydor21, this should have been fixed with #67.

Can you try:

  1. Pull the latest from main branch
  2. In chrome_extension/ directory, reinstall npm packages
    2a. Run npm install , or
    2b. Run docker compose build

And let me know if that fixes your issue?

@mtalcott mtalcott added the bug Something isn't working label Nov 1, 2024
@neydor21
Copy link
Author

neydor21 commented Nov 1, 2024

Sorry but I'm still having the same issue.

@cristianorbs
Copy link

I'm also having this issue and I found this Reddit about it: https://www.reddit.com/r/webdev/comments/1gf0v2p/comment/lukv1vm/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

They're suggesting to update vite-plugin to version 2.0.0-beta.26. I'll give it a try when I get to my personal computer and will post an update.

@mtalcott
Copy link
Owner

mtalcott commented Nov 2, 2024

@neydor21 @cristianorbs Alright, I merged the upgraded package, give it a shot now!

@cristianorbs
Copy link

It worked, @mtalcott! Thank you very much.
@neydor21 just don't forget the run npm install after pulling the latest changes.
In case anyone else needs:

  1. Pull the changes
  2. npm install inside chrome_extension
  3. npm run build
  4. Reload the code from the extension inside Chrome

@mtalcott mtalcott closed this as completed Nov 3, 2024
@neydor21
Copy link
Author

neydor21 commented Nov 4, 2024

If I compose up the docker-compose inside the chrome_extension after fetching the latest changes from github and then reload the extension inside chrome this should work right? If this is correct I'm still seen the issue. What I might be doing wrong? I'm working on Windows 11.

@cristianorbs
Copy link

@neydor21 how are you running the docker-compose?
You can do the following:
docker compose -f chrome_extension/docker-compose.yml run node npm install
And then:
docker compose -f chrome_extension/docker-compose.yml run node npm run build
Maybe you're missing the install part, which will actually update the plugin to the latest version

@neydor21
Copy link
Author

neydor21 commented Nov 5, 2024

Got it fix. My Execution Policy were set to Restricted.

@neydor21
Copy link
Author

I am experiencing this issue again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants