How to view results? #783
-
Working around #354 by manually creating the missing directories in That gives me: $ ls -RF result
result:
2018-101/ overview.json
result/2018-101:
merged.cif-2018-102/
result/2018-101/merged.cif-2018-102:
merged.cif.json No Guessing I need the $ cd report-viewer
$ npm install
npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm WARN [email protected] requires a peer of sortablejs@^1.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 1046 packages in 12.738s
122 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities # Replaced my home-directory path with ~ below.
$ npm run build
> [email protected] build ~/work/gitlab_tue/boost/jplag-hacking/report-viewer
> vue-cli-service build
ERROR You are using Node v10.19.0, but vue-cli-service requires Node ^12.0.0 || >= 14.0.0.
Please upgrade your Node version.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `vue-cli-service build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! ~/.npm/_logs/2022-04-07T11_09_01_908Z-debug.log For completeness, the log output from the above mentioned file Click to expand!
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
We currently have not integrated the doc in the wiki yet, for now, you can refer to: |
Beta Was this translation helpful? Give feedback.
-
From having a look at error log, this indicates that you must update your local NodeJS version (the current LTS version is 16.14).
Besides that, In future versions, a bundle with all required files will be created also locally. We'll add this and also #354 to the task lists for the first release with the new viewer. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Yes, we currently use a version of JetBrains Mono that has such characters. This will be replaced in a future version. Also a good hint with the line numbers being off, I will add that to the (already quite long) list of changes that shall be done until version 4. Regarding the display of overlaps: Have a look at the blue bar on the left side, there is a (currently not very visible, we're aware of that) view that gives you more information. However, it should also be visible in the code. Could you please investigate whether there are errors in the developer console (e.g., in chrome and edge on windows opened with |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you for the detailed report, we'll have a look at it in #357. |
Beta Was this translation helpful? Give feedback.
-
Maintainer's note: |
Beta Was this translation helpful? Give feedback.
Maintainer's note:
If you just want to use the report viewer, head over to jplag.github.io/JPlag.
While the report viewer is web-based, your data stays on your computer, nothing gets uploaded to another server.
If you want to build and run the report viewer locally, read the other answers below!