Can't deploy Next.js built with Nx - `cannot create special file node_modules/.cache/nx/d/d.sock` error

I’ve created Web Service app. Trying to build and deploy Next.js application that is built using Nx. Nx during installation creates a daemon at node_modules/.cache/nx/d/d.sock. But when building I get the error that the directory doesn’t allow write access.

I’ve disabled the daemon for now through env variables, but just curious is it the limitation of the app platform that it doesn’t allow writes to node_modules/.cache?

Submit an answer
Answer a question...

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