# I can't build Gitea from source, having established all dependences I receive such error

**URL:** <https://forum.gitea.com/t/i-cant-build-gitea-from-source-having-established-all-dependences-i-receive-such-error/4681>\
**Category:** General\
**Created:** [February 15, 2022, 4:55pm UTC](https://forum.gitea.com/t/i-cant-build-gitea-from-source-having-established-all-dependences-i-receive-such-error/4681 "2022-02-15T16:55:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmytro](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@dmytro](https://forum.gitea.com/u/dmytro)\
**Post date:** [February 15, 2022, 4:55pm UTC](https://forum.gitea.com/t/i-cant-build-gitea-from-source-having-established-all-dependences-i-receive-such-error/4681/1 "2022-02-15T16:55:37Z")

</div>

20307 warn optional SKIPPING OPTIONAL DEPENDENCY: esbuild-android-arm64@0.14.18 (node\_modules/esbuild-android-arm64):  
20308 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-android-arm64@0.14.18: wanted {“os”:“android”,“arch”:“arm64”} (current: {“os”:“linux”,“arch”:“x64”})  
20309 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: android  
20309 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: arm64  
20309 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux  
20309 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64  
20310 verbose stack Error: esbuild@0.14.18 postinstall: `node install.js`  
20310 verbose stack Exit status 1  
20310 verbose stack at EventEmitter. (/usr/lib/node\_modules/npm/node\_modules/npm-lifecycle/index.js:332:16)  
20310 verbose stack at EventEmitter.emit (events.js:315:20)  
20310 verbose stack at ChildProcess. (/usr/lib/node\_modules/npm/node\_modules/npm-lifecycle/lib/spawn.js:55:14)  
20310 verbose stack at ChildProcess.emit (events.js:315:20)  
20310 verbose stack at maybeClose (internal/child\_process.js:1021:16)  
20310 verbose stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:286:5)  
20311 verbose pkgid esbuild@0.14.18  
20312 verbose cwd /root/gitea  
20313 verbose Linux 4.15.0-167-generic  
20314 verbose argv “/usr/bin/node” “/usr/bin/npm” “install” “–no-save”  
20315 verbose node v12.17.0  
20316 verbose npm v6.14.4  
20317 error code ELIFECYCLE  
20318 error errno 1  
20319 error esbuild@0.14.18 postinstall: `node install.js`  
20319 error Exit status 1  
20320 error Failed at the esbuild@0.14.18 postinstall script.  
20320 error This is probably not a problem with npm. There is likely additional logging output above.  
20321 verbose exit [1, true]

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [February 17, 2022, 8:01am UTC](https://forum.gitea.com/t/i-cant-build-gitea-from-source-having-established-all-dependences-i-receive-such-error/4681/2 "2022-02-17T08:01:43Z")

</div>

You can run `make clean` and try again.
