preview is just for development in general, not specifically remote
preview is just for development in general, not specifically remote
Error: The process '/usr/local/bin/npx' failed with exit code 1. Despite that, on the CF side, it seems to show that the deployments were successful - it shows that the active deployment was made "a few seconds ago". Any thoughts?CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID environment variables
wrangler 3.58.0
-------------------
X [ERROR] Missing entry-point: The entry-point should be specified via the command line (e.g.) or thewrangler deploy path/to/scriptconfig field.main
wrangler deploy "src/index.js"doesn't work, keeps saying I am missing my entry-point.
wrangler.toml?#:schema node_modules/wrangler/config-schema.json
name = "secretname"
main = "src/index.js"
compatibility_date = "2024-05-29"
[[durable_objects.bindings]]
name = "roomObject"
class_name = "RoomObject"
#[[migrations]]
#tag = "v2"
#renamed_classes = [{from = "MyDurableObject", to = "RoomObject" }] # Array of rename directives
#deleted_classes = ["MyDurableObject"] # Array of deleted class names
[[kv_namespaces]]
binding = "name"
id = "12345"
wrangler deploy "src/index.js"I get:
The entry-point file at "src\index.js" was not found.So it seems like it somehow can't see my files? Even though my project structure hasn't changed
cd srcGives:
Set-Location: Cannot find path 'C:\Data\WranglerProjects\workerProject\src' because it does not exist.

wrangler dev--show-interactive-dev-session=false'sh: wrangler: command not found' when running npx wrangler. I'm on the correct Node version for my project, so not sure what is upwrangler.toml and env.vars which is picked and which is overridden?main fieldroute in its wrangler.toml file. So kind of a two part question...am I even configuring the environments in the correct way and if so, how do I define the environments?
name = "uvuli"
pages_build_output_dir = "./dist"
route = "https://uvuli-esketit.pages.dev/*"
vars = { ENVIRONMENT = "dev" }
kv_namespaces = [
{ binding = "EMAIL_LIST", id = "a16974f824054fb7b2457f7d13c5bfa5" }
]
[env.production]
vars = { ENVIRONMENT = "production" }
routes = [
"uvuli.app/*",
]
kv_namespaces = [
{ binding = "EMAIL_LIST", id = "583b076b601d4dc49e13d8ddf47a574e" }
] @cf-wasm/photon