I'm trying to use ngx-scanner-qrcode@1.7.2
in .module.ts file used this
LOAD_WASM().subscribe(res => {
console.log('LOAD_WASM',res)
});
getting these error
index.js:1 failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): Compiling or instantiating WebAssembly module violates the following Content Security policy directive because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive:
index.js:1 Aborted(CompileError: WebAssembly.instantiate(): Compiling or instantiating WebAssembly module violates the following Content Security policy directive because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: )
zone.js:690 Unhandled Promise rejection: Aborted(CompileError: WebAssembly.instantiate(): Compiling or instantiating WebAssembly module violates the following Content Security policy directive because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: ). Build with -sASSERTIONS for more info. ; Zone: <root> ; Task: Promise.then ; Value: RuntimeError: Aborted(CompileError: WebAssembly.instantiate(): Compiling or instantiating WebAssembly module violates the following Content Security policy directive because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: ). Build with -sASSERTIONS for more info
can't use unsafe-eval in script-src, as it is a production app
I'm trying to use
ngx-scanner-qrcode@1.7.2in .module.ts file used this
getting these error
can't use
unsafe-evalin script-src, as it is a production app