You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the parcel index.html command I am getting following error:
Server running at http://localhost:63418 - configured port 1234 could not be used.
🚨 /Users/harunoz/Desktop/testRsa/node_modules/wasm-rsa/wasm/browser/rsa_lib.js:2:22: Cannot resolve dependency './rsa_lib_bg' at '/Users/harunoz/Desktop/testRsa/node_modules/wasm-rsa/wasm/browser/rsa_lib_bg'
1 | /* tslint:disable */
> 2 | import * as wasm from './rsa_lib_bg';
| ^
3 |
4 | let cachedTextEncoder = new TextEncoder('utf-8');
How can I build this with parcel?
Thanks for your help!
The text was updated successfully, but these errors were encountered:
harunoz
changed the title
Can not resolve dependency - Issue with Parcel
Can not resolve dependency './rsa_lib_bg' - Issue with using Parcel
Dec 4, 2020
@harunoz Hello =) I'm sorry. I didn't notice the issue right away
When i researched build a wasm module with any build managers. I couldn't build a lib with the parcel and rollup builders. If you want help me to resolve the problem, let me know please. I will be grateful any help.
I going to try build again. if i succeed then i going to write example
Hello I am trying to use wasm-rsa on my web application. I am using parcel to use this module.
app.js
index.html
Problem
When I run the parcel index.html command I am getting following error:
How can I build this with parcel?
Thanks for your help!
The text was updated successfully, but these errors were encountered: