Why do i get the npm error -38 when trying npm install?

Viewed 1301

Hi i am trying to run the command like below

docker run --name authservice --network=something --ip=someip -v "$(workingDir)/src/":/app/ -p 
3000:3000 \
--entrypoint bash $imageName -c 'npm install && npm run start:dev'

and i get the error below

npm ERR! code ENOSYS
npm ERR! syscall read
npm ERR! errno -38
npm ERR! ENOSYS: function not implemented, read

I am not sure what causes this. could someone help me fix this. thanks.

2 Answers

try restarting your docker services.

tried to restart / rebuild multiple times, didnt work I m getting this error when doing composer install after a fail in docker

include(): Read of 678 bytes failed with errno=38 Function not implemented

Related