首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >生成的资产找不到play / scala框架

生成的资产找不到play / scala框架
EN

Stack Overflow用户
提问于 2014-08-03 22:28:34
回答 1查看 153关注 0票数 0

我是斯卡拉的新手。我正试着得到这个真正的从Matthias Nehlsen到work的有趣例子 - github源

我确认我得到的twitter数据是正确的(激活程序运行)。但是,我没有得到生成的公共资产:

代码语言:javascript
复制
http://hostname:9000/angular/

给我这404:

代码语言:javascript
复制
http://hostname:9000/assets/build/angular/birdwatch.js
http://hostname:9000/#

为此给我404:

代码语言:javascript
复制
http://hostname:9000/assets/build/react-js/birdwatch.js

我使用的是typesafe-activator 1.2.3,使用的是“激活器运行”

代码语言:javascript
复制
BirdWatch% activator run
[info] Loading project definition from ~/git/BirdWatch/project
[info] Set current project to BirdWatch (in build file:~/git/BirdWatch/)

--- (Running the application from SBT, auto-reloading is enabled) ---

[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

(Server started, use Ctrl+D to stop and go back to the console...)

[info] a.e.s.Slf4jLogger - Slf4jLogger started
[info] application - Starting new client

在开始时(忘记添加,在清洁后):

代码语言:javascript
复制
Compiling 13 Scala sources and 1 Java source to    ~/git/BirdWatch/target/scala-2.10/classes...
[warn] /Users/NathanDunn/git/BirdWatch/conf/routes:6: unreachable code
[warn] GET         /cljs-dev/            controllers.BirdWatch.indexCljs
[warn] /Users/NathanDunn/git/BirdWatch/conf/routes:9: unreachable code
[warn] GET         /cljs/                controllers.BirdWatch.indexCljsOpt
[warn] two warnings found

我认为这只是表明前一个模式包含了后者。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-08-26 22:51:35

你需要建立客户。

引用提交人的话:

不同的客户端位于客户端/文件夹中,每个客户端都需要构建才能工作。客户端构建构件不再被签入git存储库,以避免库大小的膨胀。

看看他们给我读的文件:

您需要Node.js、Grunt和Bower来构建棱角客户端。

https://github.com/matthiasn/BirdWatch/tree/master/clients/angular

https://github.com/matthiasn/BirdWatch/blob/master/clients/react-js

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25109731

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档