Skip to content

ERROR in ...lib/utils.js Module not found: Error: Can't resolve 'path' in '.../node_modules/elasticsearch/src/lib' #661

Closed
@Son-Lam

Description

@Son-Lam

Hello,

I am first time Elasticsearch user. I am trying to use it in my Angular 6 project (Angular 6, Rxjs 6, Node 10.1.0). I am getting this error while compiling:

ERROR in ./node_modules/elasticsearch/src/lib/utils.js
Module not found: Error: Can't resolve 'path' in '/.../node_modules/elasticsearch/src/lib'.

Could you help to resolve it.

Best Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions