Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Module '"@types/pouchdb/index"' has no default export

$
0
0

@trollanfer wrote:

I want to use pouchdb. It worked in my ionic3 version of the app, but when switching to v4, i get this problem.
From a blank app, I install pouchdb and its types :

npm install --save pouchdb
npm install --save @types/pouchdb

But then, if in home.ts I try (it worked before)

import PouchDB from 'pouchdb';

I get this error :

Module '"@types/pouchdb/index"' has no default export.

I tried the same from a blank v3 app, the issue is the same. I think there is something broken in the typings ?
Or do I miss something ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>