Hi,
I’m having trouble replicating this problem. Could you be able to give me more details?
Which OS are you running? What’s your node / npm version?
node --version 9 ↵
v16.19.1
npm --version
8.19.3
OS MAC ventura 13.2.1 M1
Thanks for the response. I can now see weird behavior with node v16 around dependencies, and we cannot even install with node v18. I’ll try to update the dependencies there to make it work with both.
Thanks for letting us know! I’ll update here once I have the solution merged.
Hi @Baris Demirel checking in to see if the above is resolved? Let us know if you still have issues,
Hi there, sorry for all this delay. I’ve merged a fix now. If you fetch the latest version, you should be able to use the samples, no problem.
Let me know if you still have any issues!
Hi @kevinpeng,
Were you able to fetch the latest version and try it out?
Let us know if you have any questions.
Br,
Dilini
get following error:
Module not found: Error: Can't resolve '@cognite/sdk-core' in '/Users/kevin.peng/code/cognite/cognite-sdk-js/samples/react/msal-browser-react/node_modules/@cognite/sdk/dist'
node version v19.9.0
npm version 9.6.4
mac arm
Hi Kevin,
I’m sorry for the delay in response, I’ve missed it.
You need to run `yarn build` or `npm build` in `Users/kevin.peng/code/cognite/cognite-sdk-js`. And if npm doesn’t work, please try yarn, the repository uses yarn by default.
Hi @kevinpeng,
I hope Baris' response was helpful, and that you were able to resolve the issue.
As of now, I will close this thread. Please let us know if you have any questions.
Best regards,
Dilini