Skip to content

ERROR in ./node_modules/contentful-sdk-core/dist/es-modules/get-user-agent.js #58

@ahasall

Description

@ahasall

Hello,

I installed the latest Contentful SDK.

When I build my application I have the following error:
ERROR in ./node_modules/contentful-sdk-core/dist/es-modules/get-user-agent.js

When I check the source code of get-user-agent.js if find this:

import { platform, release } from 'os';

Knowing that I build for the web, and that the 'os' module if for Node.js apps, I suppose that this import is the reason for the error.

Do you have any idea about this issue ?

Thanks

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions