Open
Description
This is example of vsce package on official examples https://github.com/microsoft/vscode-extension-samples.git (I just changed publisher in package.json to myself.)
Same result vsce@2.22.0, 2.30.0, 3.3.0, 3.4.0, 3.5.0
Ubuntu 24.04.2 LTS, libsecret-1-dev installed
vscode-extension-samples/helloworld-sample$ npm -v
10.8.2
vscode-extension-samples/helloworld-sample$ node -v
v20.19.2
vscode-extension-samples/helloworld-sample$ npx @vscode/vsce --version
3.5.0
vscode-extension-samples/helloworld-sample$ npx @vscode/vsce ls
vscode-extension-samples/helloworld-sample$ npx @vscode/vsce package
Executing prepublish script 'npm run vscode:prepublish'...
...
ERROR Extension entrypoint(s) missing. Make sure these files exist and aren't ignored by '.vscodeignore':
extension/out/extension.js
I think that the problem is that there is "extension/" prefix, where and why is this prefix added?
I suspect that it may be related to node version, but I did not have to test different versions yet.
https://stackoverflow.com/a/76605936