简体   繁体   中英

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:

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 .

Any idea what am I doing wrong?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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