Skip to content

Module not found error #249

@truecode112

Description

@truecode112

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SDKIssue pertains to the SDK itself and not specific to any service

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions