-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
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
Config file resolution fails on Windows #18
Comments
Fixed by your PR #19. Thanks!
Node versions prior to v14 are no longer active.. |
Wow, that's fast turnaround 😄 Per the release schedule, Node 12 LTS is still in Maintenance and doesn't hit EOL until April of next year. Node 14 is only a year old -- venerable in the fast-moving world of JS, but a relative baby in terms of corporate IT. (I work with government, and a lot of the tech is, uh, not new.) |
yeah, the big institutions are often the furthest behind.. I realise v12 is still maintained, the main reason i moved support to minimum v14 was because the codebase is now ECMAScript with a If you have any general feedback in the future, feel free to post in the discussions tab.. |
Was a good point about the slow-moving institutions, so support extended back to v12.20 |
I'm storing my config in
lws.config.js
, in my project root. Runningnpx lws
results in a stackdump:The problem is that this dynamic import is getting the Windows-style literal path
C:\Workspace\my-project\lws.config.js
instead of a file URL. Since you already require a pretty modern Node, I think you can safely usepathToFileURL
which should work correctly on any platform.The text was updated successfully, but these errors were encountered: