Does anyone know what version of Nodejs is required for wrangler 3.1.0?
Does anyone know what version of Nodejs is required for wrangler 3.1.0?
export default) don't have bindings as globals, it's under env which is the 2nd argument passed to a handlerwrangler dev in wrangler 3 uses a local version of workerd by default, which is very limited in terms of the OS versions it supports unfortunately.--remote runs your code on a remote Cloudflare controlled server, so it's a bit slower, but you avoid the need for local workerdwrangler@2 for now, which uses a more simulated local environment with node.jsnpx wrangler deploy (without -e)?npx wrangler deploy --route '<custom path>/*' --name <dynamic name> but it's complaining that I didn't specify a zone ID or name<custom path> value contain a hostname? Like example.com/*? Or just a path?.env file with my Cloudflare API token went missing 
kj warnings are from workerd.wrangler@2npx wrangler deploy --route '<custom path>/*' --name <dynamic name><custom path>example.com/*Error: write EOF
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4095,
code: 'EOF',
syscall: 'write'
}kjexport default {
async fetch(req, env, ctx) {
// ...
console.log(env.TOKEN);
// ...
}
}