cloudflare / cloudflare/moltworker

Cannot create deployment?

Open
#223 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I get this issue and log when trying to deploy for the first time I guess when npm run build is ran? I have no idea how to fix or configure? Any ideas?

- 2026-02-09T20:25:14.511Z Initializing build environment...
- 2026-02-09T20:25:16.420Z Success: Finished initializing build environment
- 2026-02-09T20:25:16.825Z Cloning repository...
- 2026-02-09T20:25:18.173Z No build output detected to cache. Skipping.
- 2026-02-09T20:25:18.174Z No dependencies detected to cache. Skipping.
- 2026-02-09T20:25:18.175Z Detected the following tools from environment:
- 2026-02-09T20:25:18.335Z Executing user build command: npm run build
- 2026-02-09T20:25:19.836Z npm error code ENOENT
- 2026-02-09T20:25:19.836Z npm error syscall open
- 2026-02-09T20:25:19.837Z npm error path /opt/buildhome/repo/package.json
- 2026-02-09T20:25:19.837Z npm error errno -2
- 2026-02-09T20:25:19.837Z npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/opt/buildhome/repo/package.json'
- 2026-02-09T20:25:19.837Z npm error enoent This is related to npm not being able to find a file.
- 2026-02-09T20:25:19.837Z npm error enoent
- 2026-02-09T20:25:19.837Z npm error A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2026-02-09T20_25_19_707Z-debug-0.log
- 2026-02-09T20:25:19.857Z Failed: error occurred while running build command

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.