Closed ElMassimo closed 2 years ago
We didn't find any information for the current pull request with the commit d6bc82407ad2360072cfda797ea5911e39ae13f4. You might need to set the 'NX_BRANCH' environment variable in your CI pipeline.
Check the Nx Cloud Github Integration documentation for more information.
Sent with 💌 from NxCloud.
Latest commit: |
d6bc824
|
Status: | ✅ Deploy successful! |
Preview URL: | https://e4d7afbb.iles.pages.dev |
Branch Preview URL: | https://fix-windows-compat.iles.pages.dev |
Description 📖
This pull request fixes the Windows incompatibility issue reported in #161.
Background 📜
This was happening because unlike require, the dynamic
import
in node does not handle forward slashes in Windows.The Fix 🔨
By prepending the path with the
file://
protocol, it interprets the path correctly.Thanks to @ohuu for providing detailed information and proposing a solution ❤️