vscode-javascript-notebooks icon indicating copy to clipboard operation
vscode-javascript-notebooks copied to clipboard

Run js throws the error: "EvalError: Refused to evaluate a string as JavaScript because this document requires 'Trusted Type' assignment."

Open llagerlof opened this issue 3 years ago • 2 comments

After building a .vsix package and install it on local vscode, the /samples/notebook.jsnb file open and render correctly, but can't run any code.

vscode throws the error: EvalError: Refused to evaluate a string as JavaScript because this document requires 'Trusted Type' assignment.

My building process:

$ npm install -g vsce

Inside the project directory:

$ npm install
$ vsce package

llagerlof avatar Dec 17 '21 21:12 llagerlof

This happens for me when installing the extension from VSCode's extension marketplace.

Pokute avatar Dec 18 '21 01:12 Pokute

Just to inform that the version 0.0.2 popped up on my vscode. I updated it and now this issue is no longer happening on 0.0.2.

llagerlof avatar Mar 31 '22 11:03 llagerlof