Visual Studio not found

Leonardo Araoz's Avatar

Leonardo Araoz

12 Aug, 2024 05:23 PM

Hi AppVeyor Team:

Starting today we are facing a problem with a missing Visual Studio installtion missing
In case you can see it
https://ci.appveyor.com/project/Dialpad/firespotter/builds/50391312
If not
```
:heavy_multiplication_x: Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild 'C:\cygwin\opt\firespotter\native\ubervoice\node_modules\@gnaudio\jabra-node-sdk'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error: Could not find any Visual Studio installation to use
Error: node-gyp failed to rebuild 'C:\cygwin\opt\firespotter\native\ubervoice\node_modules\@gnaudio\jabra-node-sdk'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error: Could not find any Visual Studio installation to use
```
could be any cause external to our CI/CD related to this missing dep? Last time I created a similar ticket for node missing on the build process. could be something similar this time?

  1. Support Staff 1 Posted by Feodor Fitsner on 12 Aug, 2024 05:48 PM

    Feodor Fitsner's Avatar

    Hi Leonardo,

    Your builds have been running on "Visual Studio 2015" image that was not changed for a while, and I see builds are still running on the same host and the same image.

    I suspect it's due to some external dependencies changes, perhaps Node-related. For me it's hard to tell what's wrong: comparing logs of last successful and failing builds I see Node and NPM versions are the same. Looks like some of the project dependencies.

  2. 2 Posted by Leonardo Araoz on 13 Aug, 2024 03:12 PM

    Leonardo Araoz's Avatar

    Hi Feodor!
    Unfortunately we still having problems on our build, even checking out previous commits we know worked the build still failing,
    other related error we saw in various attempt we did are errors realted to permissions
    ```
    npm warn cleanup Failed to remove some directories [
    npm warn cleanup [
    npm warn cleanup 'C:\\cygwin\\***',
    npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\cygwin\opt\***] {
    npm warn cleanup errno: -4048,
    npm warn cleanup code: 'EPERM',
    npm warn cleanup syscall: 'rmdir',
    npm warn cleanup path: 'C:\\cygwin\\opt\\***'
    npm warn cleanup }
    npm warn cleanup ]
    npm warn cleanup ]
    npm error code 1
    npm error path C:\cygwin\opt\***
    ```

  3. Support Staff 3 Posted by Feodor Fitsner on 22 Aug, 2024 06:41 PM

    Feodor Fitsner's Avatar

    It must be something with external dependencies, not an image, as it wasn't changed. I'm sorry I can't suggest you a fix.

  4. Feodor Fitsner closed this discussion on 22 Oct, 2024 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac