question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

problem in a rollup project

See original GitHub issue

Hi, I’m currently using the 2.2 version of the library in a small project… I tried to upgrade the library today and have a problem that it won’t work anymore. The error I get is:

(!) Circular dependencies
node_modules/neverthrow/dist/index.js -> node_modules/neverthrow/dist/result.js -> node_modules/neverthrow/dist/index.js
node_modules/neverthrow/dist/index.js -> node_modules/neverthrow/dist/result.js -> /Users/bho/Development/adventureland/node_modules/neverthrow/dist/index.js?commonjs-proxy -> node_modules/neverthrow/dist/index.js
node_modules/neverthrow/dist/index.js -> node_modules/neverthrow/dist/result-async.js -> node_modules/neverthrow/dist/index.js
[!] Error: 'ok' is not exported by node_modules/neverthrow/dist/index.js, imported by src/utils/move.ts

probably it’s me doing something wrong… can you help me?

edit: after upgrading all rollup plugins it compiles again, but those messages remained as warnings.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

0reactions
bastianhcommented, Jun 29, 2020

Yes… I had no problem with the 2.2 version … it startet when I started updating all the dependencies. It stopped working at all but after also updating rollup it worked again. I’m now using 2.4.0 and rollup works, but issues the warning on every build. Thanks for looking into it… I will update to 2.5.0 asap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · rollup/rollup - GitHub
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the...
Read more >
Many Optimistic Rollup solutions have 'significant issues ...
Optimistic Rollups are touted as the savior of Ethereum's scalability woes, but one project warns that many of the most popular solutions ...
Read more >
rollup.js
This allows you to build on top of existing tools and modules without adding extra dependencies or bloating the size of your project....
Read more >
How to Bundle JavaScript With Rollup — Step-by-Step Tutorial
This week, we're going to build our first project using Rollup, which is a build tool for bundling JavaScript (and stylesheets, but we'll...
Read more >
Rollup Columns is not working in some project
In some project, rollup column is not working. but we did one thing, and somehow the problem went away. situation: we created the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found