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

Extension won't be reinstalled after deleting it manually under pxt_modules #157

Open
Sheila111 opened this issue Mar 28, 2023 · 1 comment
Labels
bug Something isn't working P2

Comments

@Sheila111
Copy link

Describe the bug
Extension won't be reinstalled after deleting it manually under pxt_modules

Steps to reproduce the behavior

  1. Navigate to https://arcade.makecode.com/beta#
  2. Create a project and switch to JavaScript editor
  3. Click "Open in VS Code" under simulator
  4. Delete an extension file manually (eg. delete "darts") under pxt_modules
  5. Access the MakeCode Asset Explorer by clicking on the MakeCode icon in the Visual Studio Code action bar
  6. Click "Install Project Dependencies"
  7. Back to check whether this extension is reinstalled under pxt_modules

Actual behavior
Extension won't be reinstalled after deleting it manually under pxt_modules

Expect behavior
Extension will be reinstalled after deleting it manually under pxt_modules

Screenshot
1

Additional context
1.OS: Windows11
2.arcade version: 1.13.11
3.Microsoft MakeCode version: 8.6.14

@riknoll riknoll self-assigned this Mar 29, 2023
@riknoll
Copy link
Member

riknoll commented Mar 29, 2023

This only repros on projects that are opened via the "open in vscode" button. In other words, just projects that are stored in the virtual file system. Works just fine when you've opened a project in a folder and on desktop.

I'm guessing this is something to do with the virtual file system not properly checking if a file exists or something like that. I'll try and debug it locally!

@riknoll riknoll added bug Something isn't working P2 labels Mar 30, 2023
@riknoll riknoll removed their assignment Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2
Projects
None yet
Development

No branches or pull requests

2 participants