problem in a rollup project
See original GitHub issueHi, 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:
- Created 3 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/supermacro/neverthrow/releases/tag/v2.5.0
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.