ktorio / ktor-cli Goto Github PK
View Code? Open in Web Editor NEWCommand-line tool for creating Ktor projects
License: Apache License 2.0
Command-line tool for creating Ktor projects
License: Apache License 2.0
ProductName: macOS Monterey
ProductVersion: 12.5
M1 (Arm64)
brew install
fails in invalid CPU arch error.
$ brew tap ktorio/ktor
...
$ brew install --build-from-source ktor
ktor: The x86_64 architecture is required for this software.
Error: ktor: An unsatisfied requirement failed this build.
Can't get past step 1.
System: Xubuntu 20.04.5 LTS 5.15.0-56-generic
$ snap install --beta --classic ktor
Warning: flag --classic ignored for strictly confined snap ktor
ktor (beta) 2.0.0-eap-3 from Ktor (ololoshechkin) installed
$ ktor generate ktor-sample
Uncaught Kotlin exception: okio.FileNotFoundException: No such file or directory
at kfun:okio#errnoToIOException(kotlin.Int){}okio.IOException (0x585f14)
at kfun:okio#variantSource__at__okio.PosixFileSystem(okio.Path){}okio.Source (0x5935bb)
at kfun:io.ktor.generator.cli.installer.KtorInstaller.getRcProperty#internal (0x5cc1a0)
at kfun:io.ktor.generator.cli.installer.KtorInstaller.installJdkIfAbsent#internal (0x5ccd19)
at kfun:io.ktor.generator.cli.installer.KtorInstaller#downloadKtorProject(kotlin.String){} (0x5cd84f)
at kfun:GenerateProject#execute(){} (0x5c5453)
at kfun:kotlinx.cli.ArgParser#parse(kotlin.collections.List<kotlin.String>){}kotlinx.cli.ArgParserResult (0x59a11d)
at kfun:kotlinx.cli.ArgParser#parse(kotlin.Array<kotlin.String>){}kotlinx.cli.ArgParserResult (0x596e79)
at Init_and_run_start (0x692b31)
at __libc_start_main (0x7f6b0d9d8c87)
at (0x406211)
at ((nil))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.