使用和從 https://blog.logrocket.com/creating-your-first-rest-api-with-deno-and-postgres/ 處理簡短教程denopostgres我的文件中有一個錯誤:config.jsconst env = Deno.env();export const APP_HOST = env.APP_HOST || "127.0.0.1";export const APP_PORT = env.APP_PORT || 4000;運行deno命令,我得到了錯誤:$ deno run -A index.jserror: Uncaught TypeError: Deno.env is not a functionconst env = Deno.env();
Deno.env 不是一個函數(shù)
嗶嗶one
2022-09-16 21:07:00