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

ci: appveyor failure Node v14 (windows x86) #1318

Closed
kewde opened this issue Apr 28, 2020 · 4 comments
Closed

ci: appveyor failure Node v14 (windows x86) #1318

kewde opened this issue Apr 28, 2020 · 4 comments

Comments

@kewde
Copy link
Collaborator

kewde commented Apr 28, 2020

A rather strange issue occurs. The Node v14.x CI fails for Windows x86.
This is a permission issue with npm, as far as I can tell it's only used to provide debug information.

https://ci.appveyor.com/project/Mapbox/node-sqlite3/builds/32498117/job/h5cxr1p62h6eeqpn

===== where npm puts stuff START ============
npm root 
C:\projects\node-sqlite3\node_modules
npm root -g 
~~~~~~~~~~~~~~~~~~~~~~ ERROR C:\projects\node-sqlite3\scripts\build-appveyor.bat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERRORLEVEL: -1073741819
~~~~~~~~~~~~~~~~~~~~~~ DONE C:\projects\node-sqlite3\scripts\build-appveyor.bat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Command exited with code -1073741819
@kewde
Copy link
Collaborator Author

kewde commented Apr 28, 2020

#1314

@kewde
Copy link
Collaborator Author

kewde commented Apr 28, 2020

Oddly enough, npm root worked fine at first (see first comment).
It was npm root -g that was causing trouble.

After moving the one with -g into an IF statement, the error has shifted to occur on npm root.
https://ci.appveyor.com/project/Mapbox/node-sqlite3/build/job/ef0xa7hblae97u4j

===== where npm puts stuff START ============
npm root 
~~~~~~~~~~~~~~~~~~~~~~ ERROR C:\projects\node-sqlite3\scripts\build-appveyor.bat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERRORLEVEL: -1073741819
~~~~~~~~~~~~~~~~~~~~~~ DONE C:\projects\node-sqlite3\scripts\build-appveyor.bat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Command exited with code -1073741819

@kewde
Copy link
Collaborator Author

kewde commented Apr 28, 2020

Hmm, the batch code I wrote is definetly not doing what it's supposed to do.
But more interestingly, it seems to be very sporadic, perhaps a timing issue?

Both run fine now until npm bin. Winblows lol.

===== where npm puts stuff START ============
npm root 
C:\projects\node-sqlite3\node_modules
npm root -g 
C:\Users\appveyor\AppData\Roaming\npm\node_modules
npm bin 
~~~~~~~~~~~~~~~~~~~~~~ ERROR C:\projects\node-sqlite3\scripts\build-appveyor.bat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERRORLEVEL: -1073741819
~~~~~~~~~~~~~~~~~~~~~~ DONE C:\projects\node-sqlite3\scripts\build-appveyor.bat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Command exited with code -1073741819

@kewde
Copy link
Collaborator Author

kewde commented May 6, 2020

Node.js 14.1.0 resovled the issue

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