Closed xaricx closed 7 years ago
Don't use latest-beta
for Lasso as it points to Lasso 2.5.0-beta.1
, which is very out of date. Everything should work if you use the Lasso that is already listed as a dependency in the package.json, and install the Marko latest beta, which points to the release candidate version marko@4.0.0-rc.0
.
I've tested this on 2 fresh VMs: Elementary OS, and Windows 10.
No modifications to source. Git clone, npm install
and node server.js
.
Elementary OS works. Windows 10, same error as above. (The windows machine is running node 4.3.x to match AWS... if that makes a difference. However, my other main Windows development VM runs 6.9.x).
Confirmed on yet another Windows 10 VM running node 6.9.1.
Thanks for reporting the problem @xaricx. We definitely want to get down to the bottom of this. I don't have a working Windows VM at the moment. Would it be possible for you to tar/zip the src
directory on your Windows VM and share it by adding it to a Github comment? I want to verify that the template compiled directly on a Windows machine (file system differences can cause issues when working with paths). Thank you!
I also suspected paths ... and hence tried switching all ~
to relative (../../
) paths.
@xaricx Thank you for sharing the zip file (very helpful). It looks like there are some issues related to whitespace normalization that's causing some issues on Windows. Most likely due to not handling a Windows EOL sequence (i.e. \r\n
) correctly. I'll continue to investigate and should have a fix soon. Thanks, again.
This has been fixed with the latest version: marko@4.0.0-rc.3
Please let us know if you still see issues. Thanks.
On a Windows machine, even after ensuring
npm install
andnpm install marko@latest-beta
andnpm install lasso@latest-beta
, when rendering the first component (app-button), the following error is displayed:I thought it might be an issue with Windows referencing "~" properly, so I manually replaced that with the relative path, but this did not resolve the issue.
Thoughts?