Closed filipforgac closed 2 years ago
Hey,
try import * as druid from "@saehrimnir/druidjs/dist/druid.js
.
Hey. That resulted in the same error, but fortunately import * as druid from "@saehrimnir/druidjs/dist/druid.esm"
worked. I don't know why are the other imports problematic, but this is a solution for now.
I am trying to incorporate your library into my project. I am using Yarn package manager and I installed the package with
yarn add @saehrimnir/druidjs
. The installation finished successfully and I can see the package in node_modules. However, upon importing it I get this message:Moreover, after
yarn start
I get an error in the console like this, even though the modules from druid import are clearly recognized when I try to use them: