What path am I missing in vscode web extension? - visual-studio-code

I am trying to add a basic vscode web extension by hosting it on GitHub. I have hosted the code here, and am trying to run the following command to install in vscode.dev.
> Developer: Install Web Extension...
https://raw.githubusercontent.com/AdamRaichu/vscode-minecraft-lang/5da927a0f42934119198182ec5141f2c676546d2/
However when I do, I get the following error.
[2022-10-27 11:48:07.683] [window] [info] Installing extension: adamraichu.minecraft-lang
[2022-10-27 11:48:07.954] [window] [info] Request to 'https://raw.githubusercontent.com/AdamRaichu/vscode-minecraft-lang/5da927a0f42934119198182ec5141f2c676546d2/package.nls.json' failed with status code 404
[2022-10-27 11:48:07.960] [window] [error] Error while installing the extension: adamraichu.minecraft-lang
[2022-10-27 11:48:07.965] [window] [error] The "path" argument must be of type string. Received type undefined: Error: The "path" argument must be of type string. Received type undefined
at h (https://main.vscode-cdn.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/out/vs/workbench/workbench.web.main.js:78:11422)
at Object.join (https://main.vscode-cdn.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/out/vs/workbench/workbench.web.main.js:78:18753)
at h.joinPath (https://main.vscode-cdn.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/out/vs/workbench/workbench.web.main.js:83:9376)
at C.joinPath (https://main.vscode-cdn.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/out/vs/workbench/workbench.web.main.js:84:6477)
at K.toWebExtension (https://main.vscode-cdn.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/out/vs/workbench/workbench.web.main.js:3241:118766)
at async K.addExtension (https://main.vscode-cdn.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/out/vs/workbench/workbench.web.main.js:3241:114719)
at async u.doRun (https://main.vscode-cdn.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/out/vs/workbench/workbench.web.main.js:3242:7677)
What path am I missing?
Note that trying to open any of these links from the log gets an error.
<Error>
<Code>BlobNotFound</Code>
<Message>The specified blob does not exist. RequestId:50ecf237-701e-00a5-121b-eadf11000000 Time:2022-10-27T15:50:04.6433646Z</Message>
</Error>

I fixed this problem by adding browser to my package.json, with a path to a typescript file. This in turn showed me other missing things, but this fixed my problem.

Related

How to overcome the error failed: missing) after argument list

it shows like thisUsing selenium IDE as source
For login questions authentication i used if else condition. Getting error failed missing) after argument list
Thanks

Parse error generating server stub with openapitools/openapi-generator-cli using OAS 3.0

I am trying to generate server code using openapitools/openapi-generator-cli which I installed globally using NPM.
When I run the command:
openapi-generator generate -i MyApi.yaml -g aspnetcore -o ./src
I get the following error:
[main] ERROR i.s.parser.SwaggerCompatConverter - failed to read resource listing
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'openapi': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
I have also tried converting my spec file to json and encountered the same error.
How can I resolve this error with parsing the yaml file?
I ran my spec file through the online editor at http://editor.swagger.io/ and found an error in my yaml (I forgot to add a parameter entry for a path with a parameter in the path). Once I fixed the error, the generator worked correctly.
So this was user error, though the error message could be better.

Crowdin error when I tried to upload translations

I've an issue (I'm still blocked), I've created my configuration file like :
project_identifier: test
api_key: KeepTheAPIkeySecret
base_url: https://api.crowdin.com
base_path: /path/to/your/project
files:
-
source: /locale/en/LC_MESSAGES/messages.po
translation: /locale/%two_letters_code%/LC_MESSAGES/%original_file_name%
See : https://github.com/crowdin/crowdin-cli
However, I received an error message when I execute my command line to upload translation in Crowdin :
error: Seems Crowdin server API URL is not valid.
Please check the `base_url` parameter in the configuration file.
I don't know why it's not working!Thanks for any help !
Crowdin sent me another JAR,
The last one was not good for windows path.

Error: Load failed, save is disabled

I'm completely new to ipython/ jupyter, I literally just typed in me first example and went to save it. I'm not getting the error above?
Error: Load failed, save is disabled
Also I don't know if it is related but I can't left click into cells? I have to right click and then press escape (very annoying).
Thanks
Open up the Javascript developer console and read the error msg.
In my case it looked like:
Failed to load resource: the server responded with a status of 404 (Not Found)
main.min.js:12623 Object
main.min.js:12625 API request failed (404): No such file or directory: code/pcc/Prototype%%20Pattern.ipynb
main.min.js:26690 Error stack trace while loading notebook was:
main.min.js:26691 XhrError: No such file or directory: code/pcc/Prototype%%20Pattern.ipynb
at wrap_ajax_error (http://localhost:8888/static/notebook/js/main.min.js?v=40e10638fcf65fc1c057bff31d165e9d:12671:29)
at Object.settings.error (http://localhost:8888/static/notebook/js/main.min.js?v=40e10638fcf65fc1c057bff31d165e9d:12692:24)
at l (http://localhost:8888/static/notebook/js/main.min.js?v=40e10638fcf65fc1c057bff31d165e9d:89:24882)
at Object.c.fireWith (http://localhost:8888/static/notebook/js/main.min.js?v=40e10638fcf65fc1c057bff31d165e9d:89:25702)
at k (http://localhost:8888/static/notebook/js/main.min.js?v=40e10638fcf65fc1c057bff31d165e9d:91:5373)
at XMLHttpRequest.<anonymous> (http://localhost:8888/static/notebook/js/main.min.js?v=40e10638fcf65fc1c057bff31d165e9d:91:9152)
main.min.js:12030 Loaded extension: widgets/notebook/js/extension

Determining reason that chrome enterprise-deployed extension will not load

I have a locally sourced enterprise-installed extension which is installed via the ExtensionInstallForcelist policy. The policy is visible on the chrome://policy page with a status of OK. The URL to the update manifest xml file is of the form "file:///c:/program%20files/xxx/updates.xml" The .crx file is also located in the same folder "file:///c:/program%20files/xxx/myextension.crx" I can successfully browse to both of those files. Yet the extension does not load.
Is there any way to determine the reason that chrome is not loading the extension? I do not see any indication of error. I have opened up the inspect developer window on the extension page, but see no console messages or exceptions. Is there a log file I could look at, or some other means of determining why the extension is not loading?
UPDATE: Turned on logging and see the following:
[3752:3156:0327/171545:WARNING:extension_error_reporter.cc(79)] Extension error: Expected ID "kfegeekbdleinhdfillngiggbjiflghe", but ID was "ijdpkgandgfnpbammiehlfpfpboclodn".
[3752:3440:0327/172253:WARNING:extension_protocols.cc(422)] Failed to GetPathForExtension: kfegeekbdleinhdfillngiggbjiflghe
[3752:3440:0327/172253:WARNING:url_request_job_manager.cc(89)] Failed to map: chrome-extension://kfegeekbdleinhdfillngiggbjiflghe/
[3752:3440:0327/172253:VERBOSE1:resource_loader.cc(364)] OnResponseStarted: chrome-extension://kfegeekbdleinhdfillngiggbjiflghe/
[3752:3440:0327/172253:VERBOSE1:resource_loader.cc(778)] ResponseCompleted: chrome-extension://kfegeekbdleinhdfillngiggbjiflghe/
[3752:3156:0327/172253:VERBOSE1:navigator_impl.cc(298)] Failed Provisional Load: chrome-extension://kfegeekbdleinhdfillngiggbjiflghe/, error_code: -2, error_description: Unknown error., showing_repost_interstitial: 0, frame_id: 1