What is the actual error? npx is the caller but it's at the top of the chain so saying it failed isn
What is the actual error? npx is the caller but it's at the top of the chain so saying it failed isn't very helpful.
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?
npm i @webassembly/sharp. There are no other projects in the npm registry using @webassembly/sharp.
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" }
] npm i @webassembly/sharp