Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

require() of ES Module 'webdav' from 'owncloud-sdk' is not supported #1211

@ajkarell

Description

@ajkarell

Following error occurs when trying to use owncloud-sdk with Node.js v19.6.0:

Error [ERR_REQUIRE_ESM]: require() of ES Module .../node_modules/webdav/dist/node/index.js from .../node_modules/owncloud-sdk/dist/owncloud.js not supported. Instead change the require of index.js in .../node_modules/owncloud-sdk/dist/owncloud.js to a dynamic import() which is available in all CommonJS modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions