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'm getting error in form:
[*] Generating source file [!] Require error :chalk
Chalk is an NPM package and my code is compiled from TS, which generated a line: const chalk = require("chalk"); where the error occurs.
const chalk = require("chalk");
Is it even possible to use other NPM packages in NectarJs apps?
NectarJS ver. 0.5.31
The text was updated successfully, but these errors were encountered:
hi @bogacg , One of the goals of NectarJS is to support as many node modules as possible, and as many EcmaScript standards as possible,
We start to add a {nectar: {}} property in the package.json of module to say if it's compatible or not with NectarJS.
{nectar: {}}
I will update this issue with the state of node modules support
Sorry, something went wrong.
I get this error too.
My code:
// Generated by CoffeeScript 2.5.1 var prompt; prompt = require("prompt"); prompt.start(); prompt.get(["username"], function(error, hasil) { return console.log(`Username: ${hasil.username}`); });
And the error:
[*] Generating source file [!] Require error : prompt
I use this command:
nectar ask.js
Most likely all NPM packages that use stdout, stdin or stderr will fail.
@marcus-sa we integrated libuv with node env, so it's just a matter of time now to support NPM packages
No branches or pull requests
I'm getting error in form:
Chalk is an NPM package and my code is compiled from TS, which generated a line:
const chalk = require("chalk");
where the error occurs.Is it even possible to use other NPM packages in NectarJs apps?
NectarJS ver. 0.5.31
The text was updated successfully, but these errors were encountered: