Chinoman10
12/12/2022, 10:30 AMDatSparrow
12/12/2022, 5:54 PMSkye
12/12/2022, 5:58 PMDatSparrow
12/12/2022, 5:58 PMSkye
12/12/2022, 5:59 PMNipsuli
12/12/2022, 6:02 PMnpx wrangler pages dev ./public --local --service STUFF=stuff
I get
Unknown argument: service
โฏ npx wrangler version
โ
๏ธ wrangler 2.6.2
Skye
12/12/2022, 6:04 PMNipsuli
12/12/2022, 6:04 PMChinoman10
12/12/2022, 6:15 PM.dev.vars
file, which I haven't tested yet, but someone mentioned if I put .env vars there, it'll pick it up for the development.Chinoman10
12/12/2022, 6:17 PMnpm update (yada yada)
, even globally on a root folder (no package.json) and it doesn't upgrade versions.Chinoman10
12/12/2022, 6:17 PMChinoman10
12/12/2022, 6:17 PMChinoman10
12/12/2022, 6:18 PMChinoman10
12/12/2022, 6:18 PMChinoman10
12/12/2022, 6:19 PMChinoman10
12/12/2022, 6:19 PMSkye
12/12/2022, 6:21 PMChinoman10
12/12/2022, 6:25 PM2.6.2
...Skye
12/12/2022, 6:27 PMChinoman10
12/12/2022, 6:40 PMJustinNoel
12/12/2022, 8:22 PM_worker.js
for toolsets like Remix, Astro, etc, you won't see the functions in the Function tab in the dashboard.
Logs should work fine though from the CLI (you won't get them in the dashboard)
Do this in your terminal to see logs for the last preview deployment:
wrangler pages deployment tail --environment=preview
zsmooth
12/13/2022, 12:07 AMbkyerv
12/13/2022, 5:10 AMscript
tags or components that render on the client) but result in error (500 failed to parse url
) when used on the server (i.e. inside ---
and that gets executed during build stage). Is it normal behaviour? does that mean functions are available only after the build stage?Unsmart | Tech debt
12/13/2022, 5:27 AMbkyerv
12/13/2022, 5:56 AMUnsmart | Tech debt
12/13/2022, 6:05 AMbkyerv
12/13/2022, 6:11 AMrain
12/13/2022, 2:47 PMrain
12/13/2022, 2:48 PM