Closed sourishkrout closed 2 years ago
Having the same issue. Very out of the blue.
Whatever has happened has completely ruined my deployment process. What a shame.
I had to re-write my simple deployment script to remove the dep on this action.
Here's the commit for that: https://github.com/halcyon-tech/vscode-ibmi/commit/0227b787c0cdfd8027c2967035dcac6aadcafd7b
Same. To workaround it with minimal changes I downgraded/pinned vsce
in my fork. feel free to use @worksofliam.
- uses: lannonbr/vsce-action@2.0.0
+ uses: sourishkrout/vsce-action@2.0.1
Actually just identified the issue and made a PR with a fix: https://github.com/lannonbr/vsce-action/pull/8.
The problem is the underlying outdated node:10-slim
image. It'll work with node:16-slim
.
Published a tag on my fork to do just that:
- uses: lannonbr/vsce-action@2.0.0
+ uses: sourishkrout/vsce-action@2.0.2
Actually just identified the issue and made a PR with a fix: #8.
The problem is the underlying outdated
node:10-slim
image. It'll work withnode:16-slim
.Published a tag on my fork to do just that:
- uses: lannonbr/vsce-action@2.0.0 + uses: sourishkrout/vsce-action@2.0.2
OK - I spoke too soon. Now I'm getting:
node:internal/modules/cjs/loader:1183
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: libsecret-1.so.0: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/usr/local/lib/node_modules/vsce/node_modules/keytar/lib/keytar.js:1:14)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
code: 'ERR_DLOPEN_FAILED'
}
It appears this is a newish pending issue with vsce
: https://github.com/microsoft/vscode-vsce/issues/645
Published tag 0.0.3
that pins vsce
to 1.102.0
using node:16-slim
which I will use until the original issue is fixed.
- uses: lannonbr/vsce-action@2.0.0
+ uses: sourishkrout/vsce-action@2.0.3
prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
Interesting. Using prebuild-install
, keytar should just have downloaded precompiled binaries for your platform, but it kinda got stuck on this error unfortunately.
Does prebuild-install
manage to download it if you change the permissions on that file?
Just pushed a 3.0.0 tag for this action that includes @sourishkrout's PR to update the dockerfile to node 16. Closing this for now.
Starting with https://github.com/microsoft/vscode-vsce/releases/tag/v1.103.0 it appears npm is attempting to build keytar and fails due to lack of a build subsystem.
Has this been a problem before? Trying out workarounds but wanted to highlight the issue.