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

Prophet uploads all cartridges when saving one file. #367

Open
itsallrelative opened this issue Aug 10, 2023 · 0 comments
Open

Prophet uploads all cartridges when saving one file. #367

itsallrelative opened this issue Aug 10, 2023 · 0 comments

Comments

@itsallrelative
Copy link

itsallrelative commented Aug 10, 2023

Describe the bug
After I start VS Code and do a clean project / upload all, the file watchers starts. When I save any file, I get the following error, and Prophet re-uploads all of the cartridges. This happens every time I save a single file. This is the error I receive:

Cartridges uploaded successfully
Upload time: 0 min 29 sec
Watching files
[U 13:34:14] /[cartridge_name]/cartridge/scripts/ocapi/shop/hooks/customer_hooks.js
Error: TypeError: Cannot convert a Symbol value to a string

To Reproduce
Steps to reproduce the behavior:
Not sure how to reproduce on another machine, but with auto upload on start disabled, run clean project / upload all, wait for cartridges to upload fully, and then save a single file, and it will re-upload all of the cartridges again

Expected behavior
Saving a file will only upload that single changed file.

Desktop (please complete the following information):

  • OS: OSX
  • VSCode version: 1.81.1
  • The extension version 1.4.40
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

1 participant