我运行的命令是:
curl -fsSL https://deno.land/x/install/install.sh | sh
Run Code Online (Sandbox Code Playgroud)
输出是:
######################################################################## 100.0%
Archive: /root/.deno/bin/deno.zip
inflating: deno
Deno was installed successfully to /root/.deno/bin/deno
Manually add the directory to your $HOME/.bash_profile (or similar)
export DENO_INSTALL="/root/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
Run '/root/.deno/bin/deno --help' to get started
Run Code Online (Sandbox Code Playgroud)
在此之后,我deno在终端中运行,它给了我一个错误。
谁能解释一下如何在 Ubuntu 中正确安装 Deno?
包裹:圣所
在请求获取数据时生成令牌后,它会像这样抛出我的错误
Illuminate\Database\QueryException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'api_token' in
'where clause' (SQL: select * from `users` where `api_token` = XAzuNGUeOJ8CXbIoGEWhBTtWIFr0lFr8jjwScXQ4B0Qxfmu
2cHm9LaUwGX96zy0AnXhLLcCnBFCodQaOlimit 1) in file
Run Code Online (Sandbox Code Playgroud) 当使用命令运行应用程序时deno run app.ts,它给出一个error: Uncaught PermissionDenied
error: Uncaught PermissionDenied: access to environment variables, run again with the --allow-env flag
at unwrapResponse ($deno$/ops/dispatch_json.ts:43:11)
at Object.sendSync ($deno$/ops/dispatch_json.ts:72:10)
at Object.toObject ($deno$/ops/os.ts:33:12)
at file:///opt//deno/app.ts:5:22
Run Code Online (Sandbox Code Playgroud)