Skip to content
This repository has been 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

Open
ajkarell opened this issue Feb 16, 2023 · 0 comments
Open

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

ajkarell opened this issue Feb 16, 2023 · 0 comments

Comments

@ajkarell
Copy link

ajkarell commented Feb 16, 2023

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.

@ajkarell ajkarell changed the title require() of ES Module 'webdav' from 'owncloud' is not supported require() of ES Module 'webdav' from 'owncloud-sdk' is not supported Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant