Comments (11)
In the short term, I found a work around: checkout the code in WSL and point IntelliJ at it:
https://www.jetbrains.com/help/idea/how-to-use-wsl-development-environment-in-product.html
from pkl.
A great first step would be to fix the Git clone issues. They block all other work/contributions.
from pkl.
I updated the description of the issue to reflect the broader scope that as been assigned to this issue. I don't know know how issue editing permissions work in GitHub, so feel free to update the issue description as you see fit. Or close this in favor an issue that the maintainers of this project control if that is more convenient.
from pkl.
Extending the above comments about WSL, you can simply type bash
in PowerShell to put your current terminal instance into a WSL bash shell. It's what I have been doing to test this on Windows. Saves faffing about with cd
🤣
from pkl.
Please fix this. I want to try to mess around with Pkl but only own a windows machine.
from pkl.
Evidently enough, we haven't tried developing on Windows yet :D
Thanks for the report. We do plan on supporting Windows, so this is helpful.
from pkl.
I am re-purposing this issue to track Pkl support for Windows, and pointing other issues to this one.
from pkl.
Is it possible to build native executables on windows as of now?
from pkl.
Is it possible to build native executables on windows as of now?
It is not actively supported. @translatenix makes a valid point about cloning needing to be fixed first. Native executables are part of "done" for this issue.
from pkl.
Some additional items to add to this:
- Paths on windows are not case sensitive but things like internal whitelisting checks are. AKA
--allowed-modules file:///c:/myPath/to/Something
will fail when it expects a capital drive letter--allowed-modules file:///C:/myPath/to/Something
will work - backslash paths explode, windows allows forward slash paths too though so can work around
- Windows absolute paths fail as file:// is not appended as it is for linux paths, calling with "c:/myPath/to/Something/test.pkl" when adding "c:/myPath/to/Something" will fail with "MalformedURLException: unknown protocol: c"
-
/myPath/to/Something
is transformed into:file:///myPath/to/Something
;./myPath/to/Something
is transformed tofile:///C:/myPath/to/Something
;c:/myPath/to/Something
just fails (per above) ;file:///c:/myPath/To/Something
will work, but is not whitelisted by either offile:///myPath/to/Something
/file:///C:/myPath/to/Something
there is https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfinalpathnamebyhandlea which will return the full final path to the handle opened it will return it likeFinalPath: \\?\C:\myPath
but that is easy enough to translate to file:/// form.
from pkl.
@Ai-N3rd my PR #241 or #237 include details on how to acquire and use the java version of PKL on windows. Not the most convenient given some of the above but it certainly works.
from pkl.
Related Issues (20)
- support ANSI color output of `pkl eval` HOT 3
- Bug: fatal error when chart location is invalid HOT 7
- Automatic formatting of Pkl files HOT 1
- Stack overflow when parameter name is same as object property name HOT 2
- Type constraints on `typealias`es are evaluated eagerly HOT 3
- Question: Submit to CNCF HOT 3
- `gw buildNative` runs aarch64 tasks on amd64 HOT 1
- Allow overriding Java/Kotlin package name in codegen
- Rendering lists in XML may produce unexpected results HOT 1
- Type constraints are sometimes not enforced. HOT 2
- Unable to create test for non-empty constraint on listing HOT 2
- Add SLSA provenance to your releases
- Disable "Allow merge commits" and "Allow rebase merging" in GitHub UI HOT 3
- Non-constant globbed reads return wrong results
- Reads with same glob pattern return same result even if located in different modules/directories
- better source listing for IntelliJ to include line numbers? HOT 2
- Provide an ability to depend on a local project module from a non-project module
- Feature Request: Add `hcl` format
- [Feature Request] Type parameters for Classes
- Unexpected caching with pkl-go and Evaluator.EvaluateOutputText HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkl.