pavelksg
pavelksg
WWasp-lang
Created by pavelksg on 9/27/2024 in #đŸ™‹questions
Cannot import external module @covalenthq/client-sdk
Could you please help me figure out this error:
[ Server!] import { GoldRushClient } from '@covalenthq/client-sdk';
[ Server!] ^^^^^^^^^^^^^^
[ Server!] SyntaxError: The requested module '@covalenthq/client-sdk' does not provide an export named 'GoldRushClient'
[ Server!] at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
[ Server!] at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
[ Server!]
[ Server!] import { GoldRushClient } from '@covalenthq/client-sdk';
[ Server!] ^^^^^^^^^^^^^^
[ Server!] SyntaxError: The requested module '@covalenthq/client-sdk' does not provide an export named 'GoldRushClient'
[ Server!] at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
[ Server!] at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
[ Server!]
This happens in fresh wasp 0.14 app with TypeScript. I added "@covalenthq/client-sdk": "^2.1.1" into my package.json, and then added import { GoldRushClient } from "@covalenthq/client-sdk"; into one of the custom actions. After I run wasp start, I'm getting error above
19 replies