You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-02-10 14:44:17 npm ERR! code ENOENT
2024-02-10 14:44:17 npm ERR! syscall open
2024-02-10 14:44:17 npm ERR! path /usr/src/app/package.json
2024-02-10 14:44:17 npm ERR! errno -2
2024-02-10 14:44:17 npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'
2024-02-10 14:44:17 npm ERR! enoent This is related to npm not being able to find a file.
2024-02-10 14:44:17 npm ERR! enoent
2024-02-10 14:44:17
2024-02-10 14:44:17 npm ERR! A complete log of this run can be found in:
2024-02-10 14:44:17 npm ERR! /home/node/.npm/_logs/2024-02-10T20_44_17_447Z-debug-0.log
This only happens when I uncomment the following lines in compose.yml
volumes:
- ./app:/usr/src/app
- /usr/src/app/node_modules
I'm running windows 10 with the latest docker desktop version
I'm also running docker desktop in Hyper-V mode, not WSL2
I added the folder to the file sharing list in Docker Desktop settings, but that doesn't seem to help.
Update: 2024-2-11:
Trying again today, and it's docker compose up is failing with the following message:
Error response from daemon: driver failed programming external connectivity on endpoint bindmount-apps-todo-app-1 (69390204732ab1e4407d01638e22663ab6a87223df018e682e695683cab239e4): Bind for 0.0.0.0:3001 failed: port is already allocated
The text was updated successfully, but these errors were encountered:
Complete log is:
2024-02-10 14:44:17 npm ERR! code ENOENT
2024-02-10 14:44:17 npm ERR! syscall open
2024-02-10 14:44:17 npm ERR! path /usr/src/app/package.json
2024-02-10 14:44:17 npm ERR! errno -2
2024-02-10 14:44:17 npm ERR! enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'
2024-02-10 14:44:17 npm ERR! enoent This is related to npm not being able to find a file.
2024-02-10 14:44:17 npm ERR! enoent
2024-02-10 14:44:17
2024-02-10 14:44:17 npm ERR! A complete log of this run can be found in:
2024-02-10 14:44:17 npm ERR! /home/node/.npm/_logs/2024-02-10T20_44_17_447Z-debug-0.log
This only happens when I uncomment the following lines in compose.yml
volumes:
- ./app:/usr/src/app
- /usr/src/app/node_modules
I'm running windows 10 with the latest docker desktop version
I'm also running docker desktop in Hyper-V mode, not WSL2
I added the folder to the file sharing list in Docker Desktop settings, but that doesn't seem to help.
Update: 2024-2-11:
Trying again today, and it's docker compose up is failing with the following message:
Error response from daemon: driver failed programming external connectivity on endpoint bindmount-apps-todo-app-1 (69390204732ab1e4407d01638e22663ab6a87223df018e682e695683cab239e4): Bind for 0.0.0.0:3001 failed: port is already allocated
The text was updated successfully, but these errors were encountered: