I had a similar issue with vueJs, npm upgrade was able to fix it
I faced the same issue. Installing [memfs][1]
solved the problem for me.
Try: npm install memfs
I was faced also this issue. I just tried npm install memfs and problem was solved.
In your case, the problem, as stated in the error message, is with the package memfs
and as presented by @Sachin and @Suvin, installing a more recent version of it will solve the problem:
TypeError: Cannot set property closed of #<Readable> which has only a getter
at FsReadStream.close (...\node_modules\memfs\...)
I had a similar issue and in my case, it was with another package named restify
, nevertheless, the solution was the same: update the package.
Mozila: TypeError: setting getter-only property "x"
It's not a good thing to do, but you can manually upgrade the memfs package in your package.json as a last solution
I was experiencing "TypeError: Cannot set property closed of # which has only a getter"
After that I have installed memfs and the problem is solved.
Try : npm install memfs