Closed Arcesilas closed 3 years ago
Hi @Arcesilas, thank you for the comment. Does the extension work on VS Code? The cause of that might be the VSCodium.
I can't test with VSCode, because I don't want to install it... sorry... I guess I will have to stick with the default color picker... Thanks for your answer.
Ok :smile: Thank you for the information.
I got vscode-oss (not vscodium) on Arch LInux and i got EXACTLY the same problem.
Activating extension 'anseki.vscode-color' failed: Cannot find module '/home/werner/.vscode-oss/extensions/anseki.vscode-color-0.4.5/extension'
I realize that it's the entry for "main" in package.json, which points to './extension' while there should be an 'extension.js' in the root directory which is missing. But i have no idea what should be the content of that file, i just compared to other extensions that are working.
What i did is install the extension the normal way, go to the extension directory and entered npm install
- which all worked fine (despite the usual npm warnings about vulnerabilities).
Version: 1.56.2 Commit: 054a9295330880ed74ceaedda236253b4f39a335 Date: 2021-05-16T15:21:33.370Z Electron: 12.0.9 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Linux x64 5.12.9-zen1-1-zen
installed version:
community/code 1.56.2-2 [0B 84.70MiB] [Installed]
Hi @gelse, thank you for the comment. Could you give more information? Copy this template: https://raw.githubusercontent.com/anseki/vscode-color/master/.github/ISSUE_TEMPLATE.md
I have this issue, in OSS code.
Is there any support for that version here?
Steps to Reproduce:
command 'extension.colorHelper.pick' not found
Log (All lines):
electron/js2c/renderer_init.js:33 The vm module of Node.js is deprecated in the renderer process and will be removed.
o._load @ electron/js2c/renderer_init.js:33
electron/js2c/renderer_init.js:113 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
Policy set or a policy with "unsafe-eval" enabled. This exposes users of
this app to unnecessary security risks.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
(anonymous) @ electron/js2c/renderer_init.js:113
workbench.desktop.main.js:2710 Extension 'ms-python.python cannot use PROPOSED API (must started out of dev or enabled via --enable-proposed-api)
updateEnableProposedApi @ workbench.desktop.main.js:2710
workbench.desktop.main.js:62 [Extension Host] (node:3867921) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.(Use `electron --trace-deprecation ...` to show where the warning was created)
S @ workbench.desktop.main.js:62
workbench.desktop.main.js:2701 Error querying extensions gallery Canceled
query @ workbench.desktop.main.js:2701
2workbench.desktop.main.js:1728 [Embedded Page] %cElectron Security Warning (Insecure Content-Security-Policy) font-weight: bold; This renderer process has either no Content Security
Policy set or a policy with "unsafe-eval" enabled. This exposes users of
this app to unnecessary security risks.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
workbench.desktop.main.js:2237 Activating extension 'anseki.vscode-color' failed: Cannot find module '/home/tusqasi/.vscode-oss/extensions/anseki.vscode-color-0.4.5/extension'
Require stack:
- /usr/lib/code/out/vs/loader.js
- /usr/lib/code/out/bootstrap-amd.js
- /usr/lib/code/out/bootstrap-fork.js.
$onExtensionActivationError @ workbench.desktop.main.js:2237
DevTools failed to load SourceMap: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/054a9295330880ed74ceaedda236253b4f39a335/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout```
Hi @ tusqasi, thank you for the comment. The extension supports VS Code only. You can use internal Color Picker instead. It's recommended.
Got it
Steps to Reproduce:
Log: