Open woutslabbinck opened 1 year ago
It is however possible to run the server when doing the following:
npm i ldes-solid-server
npx community-solid-server -c .\config-ldes.json
For this, the config url of the mongo DB url also had to be changed.
Otherwise, following error is retrieved when trying to connect to mongoDB: MongoServerSelectionError: connect ECONNREFUSED ::1:27017
Replacing localhost
with 127.0.0.1
fixed this problem.
This was also an issue made on the mongodb forum: Econnrefused error
So in an ldes-config "dbUrl": "mongodb://localhost:27017/ldes2"
MUST be replaced with "dbUrl": "mongodb:// 127.0.0.1:27017/ldes2"
.
Tested with node v18.16.0 and mongodb version 6.0.5 on windows 10.
For ingesting members, I also had to replace localhost
agin with 127.0.0.1
.
Furthermore, I also had to npm install them instead of using the github repositories.
Github repo tested: https://github.com/TREEcg/LDES-timeseries
Currently, it is not possible to run this project from the github repository on a windows machine (tested with windows 10).
Following steps were executed to get this behaviour:
Building results in the following error:
Then going to
server
and trying to run the ldes-solid-server also fails:This results in the following error: