bindmount-apps's Issues
App starting and exiting: log error = enoent ENOENT: no such file or directory, open '/usr/src/app/package.json'
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
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.