We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use NanoSQL with Rolup (https://github.com/sveltejs/sapper-template/tree/rollup) but I am getting following error when importing NanoSQl. Here is my code
const nSQL = require("nano-sql").nSQL;
Here is the stack trace
Circular dependency: ../webeo/node_modules/readable-stream/lib/_stream_readable.js -> ../webeo/node_modules/readable-stream/lib/_stream_duplex.js -> ../webeo/node_modules/readable-stream/lib/_stream_readable.js Circular dependency: ../webeo/node_modules/readable-stream/lib/_stream_duplex.js -> ../webeo/node_modules/readable-stream/lib/_stream_writable.js -> ../webeo/node_modules/readable-stream/lib/_stream_duplex.js Circular dependency: ../webeo/node_modules/readable-stream/lib/_stream_duplex.js -> ../webeo/node_modules/readable-stream/lib/_stream_writable.js -> commonjs-proxy:/home/zafar/projects/framework/webeo/node_modules/readable-stream/lib/_stream_duplex.js -> ../webeo/node_modules/readable-stream/lib/_stream_duplex.js Circular dependency: ../webeo/node_modules/readable-stream/lib/_stream_readable.js -> ../webeo/node_modules/readable-stream/lib/_stream_duplex.js -> commonjs-proxy:/home/zafar/projects/framework/webeo/node_modules/readable-stream/lib/_stream_readable.js -> ../webeo/node_modules/readable-stream/lib/_stream_readable.js Circular dependency: ../webeo/node_modules/nano-sql/lib/index.js -> ../webeo/node_modules/nano-sql/lib/database/index.js -> ../webeo/node_modules/nano-sql/lib/index.js Circular dependency: ../webeo/node_modules/nano-sql/lib/index.js -> ../webeo/node_modules/nano-sql/lib/database/index.js -> ../webeo/node_modules/nano-sql/lib/database/query.js -> ../webeo/node_modules/nano-sql/lib/index.js Circular dependency: ../webeo/node_modules/nano-sql/lib/index.js -> ../webeo/node_modules/nano-sql/lib/database/index.js -> ../webeo/node_modules/nano-sql/lib/database/query.js -> commonjs-proxy:/home/zafar/projects/framework/webeo/node_modules/nano-sql/lib/index.js -> ../webeo/node_modules/nano-sql/lib/index.js > Server crashed TypeError [ERR_INVALID_ARG_TYPE]: The "superCtor" argument must be of type Function. Received type undefined at Object.inherits (util.js:1233:11) at Object.<anonymous> (/home/zafar/projects/framework/sapper-rollup/.sapper/dev/server.js:36552:8) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) at startup (internal/bootstrap/node.js:266:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3)
Here is a link of a related issue nodejs/readable-stream#348
The text was updated successfully, but these errors were encountered:
The current architecture will make it pretty difficult to solve these circular references, adding this to the 2.0 milestone.
Sorry, something went wrong.
Is there any timeline/ETA for Version 2.0 release?
Probably around the end of the year at this rate.
@nano-sql/core 2.0.0-rc17 is tested and working with rollup.
@nano-sql/core 2.0.0-rc17
2.0 has been released and is working with rollup, this issue is resolved.
No branches or pull requests
I am trying to use NanoSQL with Rolup (https://github.com/sveltejs/sapper-template/tree/rollup) but I am getting following error when importing NanoSQl. Here is my code
Here is the stack trace
Here is a link of a related issue nodejs/readable-stream#348
The text was updated successfully, but these errors were encountered: