-
Notifications
You must be signed in to change notification settings - Fork 53
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
fix build error on windows #103
Conversation
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
=======================================
Coverage 94.26% 94.27%
=======================================
Files 41 41
Lines 1482 1484 +2
Branches 340 340
=======================================
+ Hits 1397 1399 +2
Misses 85 85
Continue to review full report at Codecov.
|
It seems to break the tests somehow, sorry. I 'll try fix that... |
@kfrederix I think glob expects linux style paths. This has tripped me up before. Are the globs returning empty? I really need a windows dev env. |
I’m mobile but if the tests are using path.resolve on the mock’d glob that would cause inconsistency with how glob works. Could be a bug in the test. |
@nickreese yeah I think you are right. I am currently out of time to spend on this unfortunately. I 'll check back when I have more time in the upcoming days... |
@nickreese tests are passing now on windows as well. I made a few more changes to |
@kfrederix 👏 Awesome. Looks good. Thank you. |
Hi @kfrederix , I tried the latest (v1.2.4) and still wont run in windows
Did it work in your side ? |
@x4080 yes it works for me with latest version. But please note: in the elderjs template the version is still locked to 1.2.1 (from package-lock.json). Can you try running |
@kfrederix Oh I didnt know that, I'll try it thanks for the tip |
It works nicely,
is the key, if I try manually change the package.json to 1.2.4, still wont work |
@x4080 @kfrederix Removed the package lock and updated the package on the template. Thanks. 👍 |
@nickreese Thanks and happy new year ! |
Fixes #102