yarn start hang. Website does not start

40 views
Skip to first unread message

Aydin Mir Mohammadi

unread,
Nov 22, 2022, 2:26:05 PM11/22/22
to Cloud Carbon Footprint
Hello,
I just create a fresh app install with "npx @cloud-carbon-footprint/create-app@latest" and "yarn guided-install" for azure. I did this before with the same settings months ago.

At this time it seems that the app does not get up. I get the following output:

[1] [INFO] 20:11:37 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 4.9.3)
[0] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
[0]  - options.allowedHosts[0] should be a non-empty string.
[0] yarn start-client exited with code 1
[1] (node:9424) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\MirMohammadi\Source\cloud-carbon-footprint\app\node_modules\@cloud-carbon-footprint\core\dist\package.json' of 'dist/index.js'. Please either fix that or report it to the module author
[1] (Use `node --trace-deprecation ...` to show where the warning was created)
[1] (node:9424) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\MirMohammadi\Source\cloud-carbon-footprint\app\node_modules\@cloud-carbon-footprint\core\dist\package.json' of 'dist/index.js'. Please either fix that or report it to the module author
[1] (node:9424) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\MirMohammadi\Source\cloud-carbon-footprint\app\node_modules\@cloud-carbon-footprint\core\dist\package.json' of 'dist/index.js'. Please either fix that or report it to the module author
[1] (node:9424) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\MirMohammadi\Source\cloud-carbon-footprint\app\node_modules\@cloud-carbon-footprint\core\dist\package.json' of 'dist/index.js'. Please either fix that or report it to the module author
[1] (node:9424) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\MirMohammadi\Source\cloud-carbon-footprint\app\node_modules\@cloud-carbon-footprint\core\dist\package.json' of 'dist/index.js'. Please either fix that or report it to the module author
[1] (node:9424) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\MirMohammadi\Source\cloud-carbon-footprint\app\node_modules\@cloud-carbon-footprint\core\dist\package.json' of 'dist/index.js'. Please either fix that or report it to the module author
[1] 2022-11-22T19:11:41.748Z [server] info: Cloud Carbon Footprint Server listening at http://localhost:4000

Accessing the client via http://localhost:4000 returns "Cannot GET /" in the body

Hint: Node v18.12.1; Yarn latest

Any Suggestion or ideas what's going wrong.

Best regards
Aydin

Cloud Carbon Footprint

unread,
Dec 1, 2022, 1:28:41 PM12/1/22
to Cloud Carbon Footprint
Hi Aydin,
Thanks for reaching out!

We followed what you have described on our end and were unfortunately unable to reproduce the issue you are seeing. 
Based on the error messages, perhaps there is some other element at play outside of CCF (eg. system config)?

Best,
The Cloud Carbon Footprint Team at Thoughtworks

Aydin Mir Mohammadi

unread,
Dec 4, 2022, 12:41:46 PM12/4/22
to Cloud Carbon Footprint
Hi,
thank you for your support and this great tool. It was my assumption, that something is going wrong. 

I installed it with WSL2 on Windows on Ubuntu. It work as expected. I will try to find out what is interfering.

Best regards
Aydin
Reply all
Reply to author
Forward
0 new messages