# Build, deploy, not working

**URL:** https://discourse.laminas.dev/t/build-deploy-not-working/2557
**Category:** API Tools
**Created:** [October 22, 2021, 12:11pm UTC](https://discourse.laminas.dev/t/build-deploy-not-working/2557 "2021-10-22T12:11:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Laurent\_Chervet](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/laurent_chervet/32/1158_2.png) [@Laurent\_Chervet](https://discourse.laminas.dev/u/Laurent_Chervet)
#### Post date: [October 22, 2021, 12:11pm UTC](https://discourse.laminas.dev/t/build-deploy-not-working/2557/1 "2021-10-22T12:11:42Z")

</div>

Hi!

First off, hats down for this incredible tool! For what I have used it, on localhost, it’s incredible and so simple to build REST apis!

My issue is… Everything works fine locally. I’m running Laminas on localhost:8081 and the front-end, vus.js, on localhost:8080. After enabling cors, it works just fine.

But now… Heading on the api-admin tool to package the whole in order to upload to my host, well, first off the “generate package” button does nothing but spin, and at some point a toaster pops up telling me the packaging operation was initialized. I try to package with composer install as a zip file. Well, a tool can be broken, so I tried to follow the guide to manually build… Not much luck either, the page just stays… blank… And endpoints return 404, oauth2 (password) endpoint too

---

<div class="post-metadata">

### Author: ![froschdesign](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/froschdesign/32/38_2.png) [@froschdesign](https://discourse.laminas.dev/u/froschdesign)
#### Post date: [October 22, 2021, 12:58pm UTC](https://discourse.laminas.dev/t/build-deploy-not-working/2557/2 "2021-10-22T12:58:44Z")

</div>

Hello and welcome to our forums! 😃

> [@Laurent\_Chervet](#):
>
> …first off the “generate package” button does nothing but spin, and at some point a toaster pops up telling me the packaging operation was initialized.

Are there any other problems during package creation? Compare with:

> <https://github.com/laminas-api-tools/api-tools/issues/30>
>
> Perhaps it's my environment (windows) but everything else works great. When I go… to create a deployment package (generate package), regardless of the package format, I receive "Error occurred building the package." What I am looking for is somewhere these messages, and perhaps more detail, are logged. Any advice so I can figure out what is going on?
> 
> 
> \---
> 
> Originally posted by @rominoff at https://github.com/zfcampus/zf-apigility/issues/160

_I’m sorry, but I don’t use the API tools, so my help is very limited._

---

<div class="post-metadata">

### Author: ![Laurent\_Chervet](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/laurent_chervet/32/1158_2.png) [@Laurent\_Chervet](https://discourse.laminas.dev/u/Laurent_Chervet)
#### Post date: [October 23, 2021, 3:32am UTC](https://discourse.laminas.dev/t/build-deploy-not-working/2557/3 "2021-10-23T03:32:04Z")

</div>

Hi and thank you for your fast reply, sorry for my late answer, different timezone (switzerland, currently 5:30 morning) 🙂

This issue worked me up so much that I connected the project at home and tested on my computer, the generate package actually works here. At work, no error in dev console

The difference I can see are, when clicking generate, Edge asks me if I want to leave the page, warning that my unsaved work would be lost. When accepting, the zip file downloads. This never triggers at work on the crap computers, sound a bit like a out of memory thing.

I’ll try the downloaded package and come back to you to clear this topic hopefully (and mark my hours and make them change my computers at work)
