expo / vscode-expo

Expo Tools keep you productive with debugging, IntelliSense, and prebuild previews
https://marketplace.visualstudio.com/items?itemName=expo.vscode-expo-tools
MIT License
433 stars 11 forks source link

Expo extension for vscode: unable to perform #81

Closed ghost closed 2 years ago

ghost commented 2 years ago

Description of the bug

error thrown by the expo extension that cache cannot refresh. error

Oops, looks like we couldn't activate the Expo manifest tools: Unable to perform cache refresh for C:\Users\rouna\AppData\Local\Expo\versions.json: Error: certificate has expired

To Reproduce

  1. Open VS Code
  2. Install Expo extension
  3. Notice warning bottom right corner.

Expected behavior

Extension should have started working

Actual behavior

Throwing the error provided above.

Additional context

Using Windows 11 and Nodejs 16.13.0

ghost commented 2 years ago

please solve this.

ghost commented 2 years ago

Fixed on my own.

mukhlisakbr commented 2 years ago

Fixed on my own.

how do you fixed?

ghost commented 2 years ago

I deleted the file where expo extension stores it's config. Also I deleted the expo extension folder from vscode extension folder. After reintsalling the issue continued but later after reinstalling vscode, issue got fixed. I don't think that this is a permanent solution of this problem. I think there must be issues in the server of extension.

ghost commented 2 years ago

Do you have the exact same problem?

Euclidean-Dev commented 2 years ago

I have the exact same problem.

donni106 commented 2 years ago

i ran into the same. after finding this issue without a real solution i will also try to delete some files and lets see what happens. duplicate of #67?

edit: in my case the schema for version 44 was missing. i have manually downloaded it from https://exp.host/--/api/v2/project/configuration/schema/44.0.0, removed the outer wrapping { "data": ... } so that it starts with { "schema": as the files of the other versions i found in the .expo/cache folder. this seems to satisfy the extension

i do not know where the schemas for older versions came from and why the new one was missing.

MariyaC07 commented 2 years ago

Oops, looks like we couldn't activate the Expo manifest tools: Unable to perform cache refresh for C:\Users\mcher\AppData\Local\Expo\versions.json: Error: certificate has expired

I have this issue