-
Notifications
You must be signed in to change notification settings - Fork 7
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
Kitura init fails on Linux #42
Milestone
Comments
I concur, it fails for me with 0.0.12 running on Ubuntu 18.04 with Swift 4.2:
|
hello, is there any workaround. I have the same problem on ubuntu 17.04 |
@shyaml Do you see the same error message as above?
|
I've opened a PR to resolve this issue. |
Merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running
kitura init
on Linux (with kitura-cli 0.0.11 or later) generates a broken project.The
Sources/Generator-Swiftserver-Projects
path is successfully renamed toSources/MyProj
, but thePackage.swift
still contains theGenerator-Swiftserver-Projects
placeholders for the target and package name. This results in a build failure.func renameProject()
is trying to executesed
commands to perform the project renames with various combinations of casing and hyphenation:https://github.com/IBM-Swift/kitura-cli/blob/master/kitura-init.js#L101
These seem to succeed on macOS but I'm guessing they are failing (silently) on Linux.
The text was updated successfully, but these errors were encountered: