Yarn Failed to build
Errors like yarn failed, uv_close, or missing modules when starting op-crime are usually caused by outdated artifacts. Updating to a stable artifact version often fixes the issue instantly.
Build / Startup Error Fix
Example errors
Yarn / build error
Running build tasks on resource op-crime - it'll restart once completed.
Couldn't start resource op-crime.
[yarn] yarn install v1.22.5
[yarn] [1/4] Resolving packages...
[yarn] success Already up-to-date.
[yarn] Done in 0.06s.
[yarn] Error: Assertion failed: 0 (../deps/uv/src/unix/core.c: uv_close: 234)
Building resource op-crime failed.
Error data: yarn failed!Missing module error
Error loading script server/server.js in resource op-crime: Error: Cannot find module 'image-js'
Require stack:
- ./QBox Passion Project/txData/qbox_7BFF69.base/resources/[gangs]/op-crime/dummy.jsPrimary fix
Why this happens
Recommended fix order
1. Update artifacts first
What to do
2. Restart the resource after updating
If the issue still happens after updating artifacts
Reinstall dependencies
Fix Cannot find module 'image-js'
Cannot find module 'image-js'Last updated