-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I'm new to RO crates and have installed ro-crate-html-js, trying to build an html preview page.
I have had success with a minimal ro-crate-metadata.json example, but I get errors when trying a different file @stain , which I believe was previously build without issue using your tool.
$ node_modules/.bin/rochtml ro-crate-metadata.json
(node:32185) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at ROCrate.__addToContextLookup (/home/mbexegc2/projects/esciencelab/rocrate-to-pages/node_modules/ro-crate/lib/rocrate.js:403:30)
at ROCrate.resolveContext (/home/mbexegc2/projects/esciencelab/rocrate-to-pages/node_modules/ro-crate/lib/rocrate.js:398:18)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:32185) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:32185) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:32185) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at ROCrate.__addToContextLookup (/home/mbexegc2/projects/esciencelab/rocrate-to-pages/node_modules/ro-crate/lib/rocrate.js:403:30)
at ROCrate.resolveContext (/home/mbexegc2/projects/esciencelab/rocrate-to-pages/node_modules/ro-crate/lib/rocrate.js:398:18)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:32185) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Would you be able to look into this?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels