Closed kiat closed 7 years ago
npm install
and npm run build
. Normally, make should print the command that exited with an error code. Without knowing the command that creates these errors, it is hard to help.I need just to run the platform on my local machine. I think that GUI-Client is not important for me, I should be able to run the platform without it.
When I run 'npm run build'
I get this
npm run build
npm ERR! path /home/kia/Desktop/platform/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/kia/Desktop/platform/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/kia/Desktop/platform/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and 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/kia/.npm/_logs/2017-03-20T19_22_09_789Z-debug.log
and inside the log file I have
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/local/bin/npm', 'run', 'build' ]
2 info using npm@4.4.1
3 info using node@v4.2.6
4 verbose stack Error: ENOENT: no such file or directory, open '/home/kia/Desktop/platform/package.json'
4 verbose stack at Error (native)
5 verbose cwd /home/kia/Desktop/platform
6 verbose Linux 4.4.0-66-generic
7 verbose argv "/usr/bin/nodejs" "/usr/local/bin/npm" "run" "build"
8 verbose node v4.2.6
9 verbose npm v4.4.1
10 error path /home/kia/Desktop/platform/package.json
11 error code ENOENT
12 error errno -2
13 error syscall open
14 error enoent ENOENT: no such file or directory, open '/home/kia/Desktop/platform/package.json'
15 error enoent ENOENT: no such file or directory, open '/home/kia/Desktop/platform/package.json'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -2, true ]
Could you please check your installation/running instructions on fresh installed Ubuntu 16.04
Also I have some troubles with the storage configurations. I installed virtuoso, and set up the users and passwords.
but when running docker-compose up virtuoso
I get
docker-compose up virtuoso
Starting vos
ERROR: for virtuoso Cannot start service virtuoso: driver failed programming external connectivity on endpoint vos (d2861f3e75deb4377e5a8b2461505c4b880d50f6dee708f627b2178b214c38ef): Error starting userland proxy: listen tcp 0.0.0.0:8890: bind: address already in use
ERROR: Encountered errors while bringing up the project.
Sorry for making the following step not clear from the beginning on. Please execute the two npm commands again inside the platform/hobbit-gui/gui-client
directory.
Starting the virtuoso fails because the port 8890
is already in use on your machine. Please open the docker-compose.yml
file in the platform
directory and scroll to this line: https://github.com/hobbit-project/platform/blob/master/docker-compose.yml#L87
If you don't want to use the SPARQL endpoint of your local platform, you can comment out the line using #
. Otherwise, you should change the left 8890
to a free port on your local machine at which the virtuoso will be accessible.
@kiat does the problem still exist? Did you tried to execute the two npm
commands in the platform/hobbit-gui/gui-client
directory?
@kiat Can you please retry it using the latest version (v1.0.4)? It should be fixed now.
The problem should be fixed since v1.0.4
Hi,
when I run make, I get lots of these errors.
I need to get the platform running on my localhost, do I need to have GUI?
Thanks!