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
Using @727-ventures/typechain-polkadot": "1.1.0" and running typechain-polkadot --in src/abi --out src/types I get the following error in a Monorepo setup using PNPM:
import {Abi} from "@polkadot/api-contract";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1178:20)
at Module._compile (node:internal/modules/cjs/loader:1220:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Object.require.extensions.<computed> [as .ts]
Using @727-ventures/typechain-polkadot": "1.1.0" and running
typechain-polkadot --in src/abi --out src/types
I get the following error in a Monorepo setup using PNPM:tsconfig.json:
package.json:
Does this package support an ESM based repo?
The text was updated successfully, but these errors were encountered: