cannot use hyphen in new project name
johanatan opened this issue · 3 comments
johanatan commented
$ natal init test-react --interface om-next
Creating test-react
Creating Leiningen project
Updating Leiningen project
ENOENT: no such file or directory, unlink 'src/test-react/core.clj'
The actual folder created (per Clojure standard) is src/test_react/...
not src/test-react/...
.
johanatan commented
Even underscore fails in a different way:
$ natal init test_react --interface om-next
Creating test_react
Creating Leiningen project
Updating Leiningen project
Compiling ClojureScript
Creating React Native skeleton
Installing Pod dependencies
Updating Xcode project
Creating Natal config
Compiling Xcode project
Launching simulator
Command failed: xcrun simctl launch 44175898-B3D7-4C16-B021-0FDBE82DFC0D org.reactjs.native.example.test_react
wilkerlucio commented
just had the same issue here:
Wilkers-MacBook-Pro:Development wilkerlucio$ natal init music-trainer --interface om-next
Creating music-trainer
Creating Leiningen project
Updating Leiningen project
ENOENT: no such file or directory, unlink 'src/music-trainer/core.clj
wilkerlucio commented
just noticed that this duplicates #26