0

I am getting the following error when trying to import lucid-cardano in a Next.js Typescript project:

TypeError: Cannot set property Headers of #<Object> which has only a getter
    at file:/node_modules/lucid-cardano/esm/src/core/core.js:12:20 {
  page: '/'
}

I also found this recent issue submitted to Lucid: https://github.com/spacebudz/lucid/issues/106

Any ideas?

1 Answer 1

0

There was an error in lucid-cardano library. It was fixed in this PR. I was able to re-test and my Next.js project is working as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.