docdoku / docdoku-plm

The project purpose is to develop a comprehensive, robust open source PLM (Product LifeCycle Management) solution.
http://www.docdokuplm.com
GNU Affero General Public License v3.0
237 stars 97 forks source link

Error building artifacts on installation. #1195

Open jordicasadevall opened 5 years ago

jordicasadevall commented 5 years ago

I'm trying to install docdoku to test it, with docker. I cloned the repo in machine where we have other projects running with docker. I follow the steps and everything is ok until

./platform-ctl build-artifacts

When I run this command, after som messages "Creating docdoku... DONE", I get:

npm ERR! path /src/docdoku-web-front/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/src/docdoku-web-front/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

Then if I run:

./platform-ctl up

I can access:

https://docdokuplm.local:14848

I see the login page.

But i have errors doing:

./platform-ctl deploy

First of all I would like to achieve building artifacts and see if the rest of the things are ok.

Thank you so much,

Jordi

mguimard commented 5 years ago

It seems that the source files aren't there. Try to run the "init-repo" command again