简体   繁体   English

arangodb,foxx和咖啡脚本

[英]arangodb, foxx and coffee script

I can using foxx with coffee script, but it not working.I have a hello example application from step-by-step tutorial. 我可以将foxx与coffee脚本一起使用,但是不起作用。我有一个循序渐进的教程提供的hello示例应用程序。 I replace app.js by app.coffee (which is after compile coffee -c app.coffee identical with app.js ) 我用app.coffee替换了app.js (在编译coffee -c app.coffee之后与app.js相同)

In manifest.json i change extension in cotrollers 在manifest.json中,我更改cotrollers中的扩展名

{
  "name": "moje",
  "version": "0.0.1",
  "description": "Hello example.",
  "author": "golf",
   "controllers": {
    "/": "app.coffee"
  }
}

but it not working and server returns 但它不工作,服务器返回

 {"error":true,"code":404,"errorNum":404,"errorMessage":"unknown path 'dev/moje/hello/world'"}

What am I doing wrong? 我究竟做错了什么?

That is a bug. 那是一个错误。 I've filed an issue: https://github.com/triAGENS/ArangoDB/issues/783 我提出了一个问题: https : //github.com/triAGENS/ArangoDB/issues/783

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM