workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🐛 BUG:

Open Larrychi101 opened this issue 1 year ago • 0 comments

Which Cloudflare product(s) does this pertain to?

C3

What version(s) of the tool(s) are you using?

3.5.1

What version of Node are you using?

20.5.1

What operating system and version are you using?

Mac OS Big Sur

Describe the Bug

✘ [ERROR] The expected output file at "dist/react-scripts build" was not found after running custom build: npm run build.

The main property in wrangler.toml should point to the file generated by the custom build.

name = "agriculture" type = "webpack" account_id = "************************"

[build] command = "npm run build" [build.upload] format = "modules" main = "react-scripts build"

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

Larrychi101 avatar Feb 24 '24 05:02 Larrychi101