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
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:
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