在从路径
运行命令时创建新项目时,Activator失败nschejtman@nschejtman-Lenovo-V570:~/projects$ activator new
Fetching the latest list of templates...
Browse the list of templates: http://typesafe.com/activator/templates
Choose from these featured templates or enter a template name:
1) minimal-akka-java-seed
2) minimal-akka-scala-seed
3) minimal-java
4) minimal-scala
5) play-java
6) play-scala
(hit tab to see a list of all templates)
> 6
Enter a name for your application (just press enter for 'play-scala')
>
OK, application "play-scala" is being created using the "play-scala" template.
ProcessError(Failed to create /home/nschejtman/projects/play-scala: Could not
create directory /home/nschejtman/projects/play-scala,
Some(java.lang.RuntimeException: Could not create directory
/home/nschejtman/projects/play-scala))
Failed to clone the template. Make sure you have internet access and please
try again.
如果我从激活器主页运行命令,它可以正常工作。我已将以下行添加到我的.bashrc
export PATH = $ PATH:/home/nschejtman/devel/activator-1.3.4-minimal /
答案 0 :(得分:3)
这可能是一个忘记的愚蠢的事情:也许Play / Activator没有对文件系统中的路径/ home / nschejtman / projects / play-scala的写访问权限?