Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json-ld playground Error thing definition ontology/schema #2071

Open
unit9a opened this issue Jan 14, 2025 · 3 comments
Open

json-ld playground Error thing definition ontology/schema #2071

unit9a opened this issue Jan 14, 2025 · 3 comments
Labels
bug Semantics Semantics-related issues

Comments

@unit9a
Copy link

unit9a commented Jan 14, 2025

json-ld source: https://www.w3.org/2022/wot/td/v1.1

json-ld playground permalink

Image

console error:
message: "Cannot read properties of undefined (reading 'forEach')"

stack: "TypeError: Cannot read properties of undefined (reading 'forEach')\n at Object.jsonldVis (https://json-ld.org/playground/jsonld-vis.js:47:19)\n at playground.performAction.options.format (https://json-ld.org/playground/playground.js:971:12)\n at new Promise ()\n at Object.performAction (https://json-ld.org/playground/playground.js:969:14)\n at Object. (https://json-ld.org/playground/playground.js:1279:23)\n at playground.tabSelected (https://json-ld.org/playground/playground.js:907:23)\n at HTMLAnchorElement.dispatch (https://cdn.jsdelivr.net/g/async@1.5.0,jquery@1.11.0,es6-promise@1.0.0,bootstrap@2.3.2,codemirror@3.22.0(codemirror.min.js+addon/lint/lint.js+addon/edit/matchbrackets.js+addon/edit/closebrackets.js+addon/display/placeholder.js+addon/hint/show-hint.js+mode/ntriples/ntriples.js+mode/javascript/javascript.js):1266:8066)\n at HTMLAnchorElement. (https://cdn.jsdelivr.net/g/async@1.5.0,jquery@1.11.0,es6-promise@1.0.0,bootstrap@2.3.2,codemirror@3.22.0(codemirror.min.js+addon/lint/lint.js+addon/edit/matchbrackets.js+addon/edit/closebrackets.js+addon/display/placeholder.js+addon/hint/show-hint.js+mode/ntriples/ntriples.js+mode/javascript/javascript.js):1266:4767)\n at Object.trigger (https://cdn.jsdelivr.net/g/async@1.5.0,jquery@1.11.0,es6-promise@1.0.0,bootstrap@2.3.2,codemirror@3.22.0(codemirror.min.js+addon/lint/lint.js+addon/edit/matchbrackets.js+addon/edit/closebrackets.js+addon/display/placeholder.js+addon/hint/show-hint.js+mode/ntriples/ntriples.js+mode/javascript/javascript.js):1266:7167)\n at HTMLAnchorElement. (https://cdn.jsdelivr.net/g/async@1.5.0,jquery@1.11.0,es6-promise@1.0.0,bootstrap@2.3.2,codemirror@3.22.0(codemirror.min.js+addon/lint/lint.js+addon/edit/matchbrackets.js+addon/edit/closebrackets.js+addon/display/placeholder.js+addon/hint/show-hint.js+mode/ntriples/ntriples.js+mode/javascript/javascript.js):1266:14925)"

@github-actions github-actions bot added the needs-triage Automatically added to new issues. TF should triage them with proper labels label Jan 14, 2025
@egekorkan egekorkan added bug Semantics Semantics-related issues and removed needs-triage Automatically added to new issues. TF should triage them with proper labels labels Jan 14, 2025
@unit9a
Copy link
Author

unit9a commented Jan 17, 2025

i got errors setting up the repo

@egekorkan should i make this error an another issue?

result of 'npm i'

npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@scipe%2feslint-config - Not found
npm error 404
npm error 404  '@scipe/eslint-config@^1.0.0' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: <dir>/.npm/_logs/2025-01-17T00_58_27_850Z-debug-0.log

.npm/_logs/2025-01-17T00_58_27_850Z-debug-0.log

2261 verbose stack HttpErrorGeneral: 404 Not Found - GET https://registry.npmjs.org/@scipe%2feslint-config - Not found
2261 verbose stack     at /home/redav/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:103:15
2261 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2261 verbose stack     at async RegistryFetcher.packument (/home/redav/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/pacote/lib/registry.js:90:19)
2261 verbose stack     at async RegistryFetcher.manifest (/home/redav/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/pacote/lib/registry.js:128:23)
2261 verbose stack     at async #fetchManifest (/home/redav/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1202:20)
2261 verbose stack     at async #nodeFromEdge (/home/redav/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1040:19)
2261 verbose stack     at async #buildDepStep (/home/redav/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:904:11)
2261 verbose stack     at async Arborist.buildIdealTree (/home/redav/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:181:7)
2261 verbose stack     at async Promise.all (index 1)
2261 verbose stack     at async Arborist.reify (/home/redav/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:131:5)
2262 verbose statusCode 404
2263 verbose pkgid @scipe/eslint-config@^1.0.0
2264 error code E404
2265 error 404 Not Found - GET https://registry.npmjs.org/@scipe%2feslint-config - Not found
2266 error 404
2267 error 404  '@scipe/eslint-config@^1.0.0' is not in this registry.
2268 error 404
2269 error 404 Note that you can also install from a
2270 error 404 tarball, folder, http url, or git url.

my work around

unit9a referenced this issue in science-periodicals/jsonld-vis Jan 17, 2025
@egekorkan
Copy link
Contributor

@unit9a I do not get the installation error in a fresh clone of the repo. Also, never remember seeing this issue. What is your system? Ideally, this should be a separate issue.

@unit9a
Copy link
Author

unit9a commented Jan 18, 2025

@egekorkan i think you are right. discovered my nvm was misconfigured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Semantics Semantics-related issues
Projects
None yet
Development

No branches or pull requests

2 participants