SolidBench / SolidBench.js

A benchmark for Solid to simulate vaults with social network data.
MIT License
10 stars 11 forks source link

Serve does not work with global install on Windows #5

Open Sindhu-Vasireddy opened 2 years ago

Sindhu-Vasireddy commented 2 years ago

When the dataset is generated and served directly from the solidbench npm package, it causes the following error stack:

Error: Error while parsing file "C:\Users\Administrator\AppData\Roaming\npm\node_modules\@solid\community-server\config\util\auxiliary\no-acl.json": ENOENT: no such file or directory, stat 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@solid\community-server\config\util\auxiliary\strategies\meta.json' at Function.addPathToError (C:\Users\Administrator\AppData\Roaming\npm\node_modules\solidbench\node_modules\componentsjs\lib\rdf\RdfParser.js:85:16) at C:\Users\Administrator\AppData\Roaming\npm\node_modules\solidbench\node_modules\componentsjs\lib\rdf\RdfStreamIncluder.js:64:76

Following componentsjs warning is thrown as well:

[Components.js] warn: Detected potentially invalid IRI 'files-scs:config/util/auxiliary/strategies/meta.json' in C:/Users/Administrator/AppData/Roaming/npm/node_modules/@solid/community-server/config/util/auxiliary/no-acl.json console screenshot

Note:- The benchmark works, when the git repository is cloned and data is generated and served.

rubensworks commented 2 years ago

Thanks for reporting! Looks like a Windows-specific issue.