Skip to content
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

Module not found error #249

Open
truecode112 opened this issue Nov 28, 2023 · 1 comment
Open

Module not found error #249

truecode112 opened this issue Nov 28, 2023 · 1 comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service

Comments

@truecode112
Copy link

I added oci-sdk in my typescript project.
But I am getting below error.
Module not found: Error: Can't resolve 'fs' in 'xxx\node_modules\oci-common\lib'
Module not found: Error: Can't resolve 'fs' in 'xxx\node_modules\oci-common\lib'
Module not found: Error: Can't resolve 'fs' in 'xxx\node_modules\oci-common\lib'
Module not found: Error: Can't resolve 'fs' in 'xxx\node_modules\oci-common\lib\auth'
Module not found: Error: Can't resolve 'fs' in 'xxx\node_modules\oci-common\lib\auth'
Module not found: Error: Can't resolve 'fs' in 'xxx\node_modules\oci-common\lib\auth\helpers'
Module not found: Error: Can't resolve 'fs' in 'xxx\node_modules\oci-common\lib\auth\helpers'
Module not found: Error: Can't resolve 'tls' in 'xxx\node_modules\oci-common\lib\auth'

Anyone help me with above errors

@jyotisaini
Copy link
Contributor

@truecode112 What version of oci-sdk and node js are you using ? Can you remove node_modules from your project and then run npm install ?

@jyotisaini jyotisaini added the SDK Issue pertains to the SDK itself and not specific to any service label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Issue pertains to the SDK itself and not specific to any service
Projects
None yet
Development

No branches or pull requests

2 participants