Adonis.js 尝试 运行 adonis serve --dev 命令时出错
Adonis.js give an error when try to run adonis serve --dev command
Adonis.js 尝试 运行 adonis serve --dev
命令时出错
这是我在后端尝试 运行 命令时出现的错误:
balveer@balveer-HP-Laptop-15-da0xxx:~/Downloads/test/blogbackend$ adonis serve --dev
SERVER STARTED
> Watching files for changes...
SyntaxError: Unexpected token '<<'
1 anonymous
/home/balveer/Downloads/test/blogbackend/node_modules/require-all/index.js:56
2 requireAll
/home/balveer/Downloads/test/blogbackend/node_modules/require-all/index.js:34
3 Config.syncWithFileSystem
/home/balveer/Downloads/test/blogbackend/node_modules/@adonisjs/framework/src/Config/index.js:49
Application crashed, make sure to kill all related running process, fix the issue and re-run the app
导入 /config/*.js
配置文件时出现此错误。
尝试检查这些不同的文件。 <<
字符导致问题。
Adonis.js 尝试 运行 adonis serve --dev
命令时出错
这是我在后端尝试 运行 命令时出现的错误:
balveer@balveer-HP-Laptop-15-da0xxx:~/Downloads/test/blogbackend$ adonis serve --dev
SERVER STARTED
> Watching files for changes...
SyntaxError: Unexpected token '<<'
1 anonymous
/home/balveer/Downloads/test/blogbackend/node_modules/require-all/index.js:56
2 requireAll
/home/balveer/Downloads/test/blogbackend/node_modules/require-all/index.js:34
3 Config.syncWithFileSystem
/home/balveer/Downloads/test/blogbackend/node_modules/@adonisjs/framework/src/Config/index.js:49
Application crashed, make sure to kill all related running process, fix the issue and re-run the app
导入 /config/*.js
配置文件时出现此错误。
尝试检查这些不同的文件。 <<
字符导致问题。