简体   繁体   English

AdonisJS安装错误

[英]AdonisJS installation error

I tried to install AdonisJS on Windows 10 according to the tutorial here: https://adonisjs.com/docs/3.2/installation , but I always get the error message: 我尝试根据此处的教程在Windows 10上安装AdonisJS: https ://adonisjs.com/docs/3.2/installation,但我总是收到错误消息:

SyntaxError: Invalid regular expression: /^\/: \ at end of pattern
 at C:\Users\...\Desktop\yardstick\app\Listeners\Http.js (C:\Users\...\Desktop\yardstick\app\Listeners\Http.js:1:1)

after running npm run dev . 运行npm run dev

Any idea what am I doing wrong? 知道我在做什么错吗?

您可以将youch版本升级到2.0.4 ,然后可以正常工作。

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

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