Closed daizong closed 1 year ago
how did you solve this?
how did you solve this?
I changed ts project to js project.
Hi,
I have the exact same issue, even when running with node test.js
.
Did you change anything to make the import work ?
node version: v16.19.1
code: test.ts `import {init} from '@x2y2-io/sdk' import { Network } from '@x2y2-io/sdk/dist/network'
export var test = async function() { init("xxxxx", Network.Mainnet) } await test()`
node version: v16.15.1 ts-node version: v10.8.1