Unable to build nest.js (Nx workspace) app

I created an app with git repo (Nx workspace and Nest.js) and during the build process I’m getting the following error:

cp: cannot create special file '/layers/digitalocean_node/node_modules/.cache/nx/d/d.sock
unable to invoke layer creator
[2022-09-06 20:29:46] caching node_modules for future builds: exit status 1

Not sure what is the issue while documentation is really sparse. It would be convenient to have support for NX workspaces but either way, this is nodejs app so it should work. I can’t pass by this error though.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up