Closed dchoi127 closed 2 years ago
I can not reproduce this. It worked fine for me with node v16.13.1:
$ git clone git@github.com:acka47/skohub-vocabs.git skohub-vocabs-forked-test
$ cd skohub-vocabs-forked-test
$ nvm use 16
$ npm i
$ cp .env.example .env
$ cp test/data/systematik.ttl data/
$ rm -rf .cache
(which is probably unnecessary at this point)$ npm run build
$ cd public/
$ python3 -m http.server
@acka47 The sequence above also works with node v17.8.0 and helminths.ttl
(corrected).
@dchoi127 Please close the issue if your problem is resolved.
Problem was resolved. Thank you!
When running "npm run build" in a cloned repository the schema construction works as intended. However, when running "npm run build" in a forked repository the schema construction terminates with the error message below.
\
With the error lying in url-template.js, I used the diff command to observe if there were any differences between the url-template.js in the forked repository vs the cloned repository. Strangely enough, the diff command returned that there were no differences.
IMPORTANT NOTE: The files in src/common.js and the data directory were changed slightly. Changes seen in https://github.com/skohub-io/skohub-vocabs/issues/176 . However, I do not see these changes causing a problem. Is there something I am overlooking?
The forked repository link: https://github.com/dchoi127/skohub-vocabs