romi / plant-3d-explorer

Browser application to visualize 3D scanned plants
https://romi.github.io/plant-3d-explorer/
GNU Affero General Public License v3.0
7 stars 6 forks source link

Build docker image fail because of npm #145

Closed MarieTiss closed 2 years ago

MarieTiss commented 2 years ago

The command for build docker image docker build -t roboticsmicrofarms/plant-3d-explorer:2.1 . can't run properly until the end since the npm test and npm startdon't work either.

The process stops at step 14/18, displaying this message error :

Step 14/18 : RUN cd plant-3d-explorer &&     npm install
 ---> Running in 1ac7d0016e91
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /myapp/plant-3d-explorer/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/myapp/plant-3d-explorer/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/myuser/.npm/_logs/2022-03-08T10_10_56_283Z-debug-0.log
The command '/bin/bash -c cd plant-3d-explorer &&     npm install' returned a non-zero code: 254
EvanZarrella commented 2 years ago

Fixed in https://github.com/romi/plant-3d-explorer/pull/156