 I'm using Windows 10 Pro, npm version 6.9.0, node 12.4.0 and require-dir 1.2.0 As soon as I go back to using require("") without the --experimental-modules flag it works again. I'm relatively new to javascript, so it may be a rookie mistake by me 😝
I'm using Windows 10 Pro, npm version 6.9.0, node 12.4.0 and require-dir 1.2.0
As soon as I go back to using require("") without the --experimental-modules flag it works again.
I'm relatively new to javascript, so it may be a rookie mistake by me 😝