validate icon indicating copy to clipboard operation
validate copied to clipboard

Node v10.7 - Trouble with module loader and importing objects after installation in node project

Open ganeshkbhat opened this issue 5 years ago • 3 comments

I am facing issues with module loader and importing objects after installation in node project.

I am trying to use this with Node V10.7.0 and am being thrown with errors saying the import statements are wrong (which is right since I am not behind a flag as well). Need steps to get this up and running cleanly with Node with or without babel and use it in a node project

ganeshkbhat avatar Sep 12 '18 02:09 ganeshkbhat

Hmm, that's strange. The published version is compiled with Babel, so import statements shouldn't be an issue. Do you have a stack trace?

eivindfjeldstad avatar Oct 25 '18 17:10 eivindfjeldstad

It just doesn't work. Errors out on the import statements Do I need a flag to run it? I am node 10.x

ganeshkbhat avatar Oct 26 '18 06:10 ganeshkbhat

No, a flag should not be necessary. I assume you're installing with npm or yarn? It's very difficult to say what might be wrong without a stack trace though.

eivindfjeldstad avatar Oct 26 '18 08:10 eivindfjeldstad