-
Notifications
You must be signed in to change notification settings - Fork 213
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
The specified icon 'extension/icon.png' wasn't found in the extension. #341
Comments
I encountered the same issue ... The Snap version of NodeJS does not output the stdout when the following commands are used
Thus I managed to find a workaround by redirecting the output via
I agree that a proper error message should be thrown for such scenarios since It might make sense to throw an exception when
|
@xontab EDIT: I found a practical solution. For those who have the same problem and just want to use vsce, use the With docker-compose:
… then run: In the container's shell: npm install -g vsce
cd /work
vsce package |
Yes, the Snap version does not support the child_process properly and thus an alternative packaging system needs to be used. Using Docker is even better :) Maybe we should build a vsce docker image to avoid these dependency issues. |
I just encountered this issue on Ubuntu 20.04, node snap version 14.17.5 (latest stable at time of writing), while executing |
This seems more like an issue with Node's snap package than VSCE, unfortunately. Nothing we can do here, but learn the workarounds. |
Hi guys, I managed to work around the problem by dragging my icon to the theme development git, and simply pointing the filename in "icon": "logo.png". inside the .json package |
I was hitting this error: microsoft/vscode-vsce#341
Hi, Can somebody please help me in finding resolution for the above issue as I am facing same issue even with most recent version of VSCE and I saw similar issue was logged and closed. I read and tried to understand above thread but couldn't get the resolution. Thanks @true0r , @paleo , @gerson-henrique for the urgent help. |
What does |
I don't see the icon listed there. |
I hit this issue on MacOS (
Changing the vsce version doesnt seem to fix anything, however downgrading node fixes the issue
|
Everyone who worked on the Microsoft teams that built the extensions API should not only be fired but also tried at the Hague. Seriously shameful stuff. As someone else noted, manually verify filepaths via:
And use |
I use snap for install node on Ubuntu 19.04. This causes a problem that I found only when debugging because the error message leads to a false way.
This issue concerns node.js and there the question has already been raised and left unanswered (nodesource/distributions#663). It is necessary providing a true error message to save time for those who have this problem.
Below code is never called.
vscode-vsce/src/package.ts
Lines 526 to 534 in f4a3d0d
Call child_process.exec("only snap package") returns stdout and stderr as empty strings without error.
vscode-vsce/src/npm.ts
Lines 55 to 61 in f4a3d0d
Call collectAllFiles() returns empty array.
vscode-vsce/src/package.ts
Lines 722 to 733 in f4a3d0d
Call processor.onFile() will not happen.
vscode-vsce/src/package.ts
Line 761 in f4a3d0d
Similar issue #233.
The text was updated successfully, but these errors were encountered: