Module not found error
Opened this issue · 1 comments
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
@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 ?