injective-ts
injective-ts copied to clipboard
export 'InjectiveStargate' (imported as 'InjectiveStargate') was not found in '@injectivelabs/sdk-ts' (module has no exports)
After importing InjectiveStargate like
import { InjectiveStargate } from '@injectivelabs/sdk-ts';
i my code i get lot's of error like
Module not found: Error: Can't resolve './core' in '/../../cypher/groot/node_modules/@injectivelabs/sdk-ts/dist/esm' Did you mean 'index.js'? BREAKING CHANGE: The request './core' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"'). The extension in the request is mandatory for it to be fully specified. Add the extension to the request.
Can anybody help me resolve it