Fatal: Failed to get Nix directories - React Javascript

Hello there,

I’m unable to deploy a React app. You can test it using the default React Template (JavaScript). If I click ‘Run,’ the app starts. However, when I attempt to deploy it, I receive the following error: ‘Failed to get Nix directories.’

Does anyone know why this might happen? I did not change any configuration; I just spotted it because I had to apply a change to another app using the same config.

Thanks.

Could you copy-paste the deployment logs here?

How to get deployment logs
  1. Go to the deployments tab
  2. Press the “Logs” tab.
1 Like
2024-02-19T15:43:51Z info: Deployment: bb261e81-546d-46db-b49e-ff82b7776a72
2024-02-19T15:43:51Z info: Build: 896ae016-f319-4adf-a69f-c8609821a012
2024-02-19T15:43:51Z info: Connecting to builder
2024-02-19T15:43:51Z info: Deployment: bb261e81-546d-46db-b49e-ff82b7776a72
2024-02-19T15:43:51Z info: Build: 896ae016-f319-4adf-a69f-c8609821a012
2024-02-19T15:43:51Z info: Connecting to builder
2024-02-19T15:43:53Z info: Builder connected
2024-02-19T15:43:53Z info: Installing packages
2024-02-19T15:43:53Z info: Starting Build

> react-javascript@1.0.0 build
> vite build


vite v5.0.0 building for production...

transforming...

✓ 31 modules transformed.

rendering chunks...

computing gzip size...

dist/index.html                   0.83 kB │ gzip:  0.50 kB

dist/assets/index-f0mNRiTD.css    0.00 kB │ gzip:  0.02 kB

dist/assets/index-YPbmesuO.js   142.73 kB │ gzip: 45.86 kB

✓ built in 1.23s

2024-02-19T15:43:57Z info: Pushing pid1 binary layer...
2024-02-19T15:43:58Z info: Created pid1 binary layer
2024-02-19T15:43:59Z fatal: Failed to get Nix directories

@CryptoRevolutio I think you already saw the thread here, but we’re working on a fix:

2 Likes

I confirm that the issue was fixed. Thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.