-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency issue #1536
Comments
The error looks a lot like something is trying to use ESM style code in CommonJS environment. I'm not familar with gulp, but the pubished
I'm not sure exactly which code "SDK Typescript test" is referring to here, but if you are copy/pasting any of our TS examples then you likely need a
What module system are you trying to use though? Do you have a |
I'm closing this as stale. Please comment with additional information if you want to re-open (or feel free to share if you found a solution to the problem). Thanks. |
Describe the bug
I'm using the SDK Typescript test to create a database and populate. I have Gulp + Typescript developer space. I get stopped at a compile error referring axios.js. I've tried multiple fixes from website searches and playing with the source/package files of axios. I did not try downgrading axios, which was one of the search solutions, as it would not be the newest version.
To Reproduce
Install cloudant in Gulp + Typescript environment
npm install @ibm-cloud/cloudant
Expected behavior
It is expected the dependency agrees to module use cases.
Screenshots
Output
Must gather (please complete the following information):
Node v20.13.1
[email protected]
[email protected]
Additional context
No solution found of Javascript or Typescript.
The text was updated successfully, but these errors were encountered: