KNowledgeOnWebScale/solid-linked-data-workshops-hands-on-exercises

npx cmd issue

Opened this issue · 1 comments

some typos in
npx ldfetch http://localhost:8080 --frame "{\"@context\": {\"@vocab\": \"http://xmlns.com/foaf/0.1/\"ype\": \"Organization\"}"

If I change it to

npx ldfetch http://localhost:80 -
-frame "{\"@context\": {\"@vocab\": \"http://xmlns.com/foaf/0.1/\"},\"@type\": \"Organization\"}"

which I believe it should solve the problem. However, it still does not work.

GET http://localhost:80
200 http://localhost:80/ (57ms)
Failed to retrieve http://localhost:80: SyntaxError: Unexpected token \ in JSON at position 1

This seems to be a Windows-related issue of ldfetch.