eivindfjeldstad/validate

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

Opened this issue · 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

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?

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

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.