perry-mitchell / webdav-client

WebDAV client written in Typescript for NodeJS and the browser
MIT License
680 stars 147 forks source link

Rollup says createClient is not exported by the web client #279

Closed TheBlueOompaLoompa closed 2 years ago

TheBlueOompaLoompa commented 3 years ago

This is what rollup spits out:

Error: 'createClient' is not exported by node_modules/webdav/web/index.js, imported by src/webfs.ts

The only code I have so far is:

import { createClient } from "webdav/web";

I'm using svelte with the typescript plugin and this code is in a typescript file. I'm using yarn as my package manager.

perry-mitchell commented 2 years ago

I'm sorry, but this is most likely an error with your build system. This library's web component is used in other projects successfully.