[Yes, I know that there is another post just like this, link]
For some reason, when I use Replit for programming in Node, I can not use import.
I am using replit (online IDE). In the link mentioned, the answer provided just says to use import
rather than require()
. However, for some reason, import
does not work. I do not know why. Is there some other way besides require()
or import
?
CodePudding user response:
You could use ansi-colors package instead of chalk.
They are almost the same.