matthiaskoenig / pkdb

Pharmacokinetics database
https://alpha.pk-db.com
29 stars 6 forks source link

Frontend is not working #650

Closed janekg89 closed 3 years ago

janekg89 commented 3 years ago
[HMR] Waiting for update signal from WDS...
webpack-internal:///./node_modules/plotly.js/src/lib/gl_format_color.js:19 Uncaught TypeError: rgba is not a function
    at eval (webpack-internal:///./node_modules/plotly.js/src/lib/gl_format_color.js:19)
    at Object../node_modules/plotly.js/src/lib/gl_format_color.js (chunk-vendors.js:10554)
    at __webpack_require__ (app.js:849)
    at fn (app.js:151)
    at eval (webpack-internal:///./node_modules/plotly.js/src/traces/scatter3d/convert.js:20)
    at Object../node_modules/plotly.js/src/traces/scatter3d/convert.js (chunk-vendors.js:15833)
    at __webpack_require__ (app.js:849)
    at fn (app.js:151)
    at eval (webpack-internal:///./node_modules/plotly.js/src/traces/scatter3d/index.js:12)
    at Object../node_modules/plotly.js/src/traces/scatter3d/index.js (chunk-vendors.js:15857)
webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:8418 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:8428 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
matthiaskoenig commented 3 years ago

No idea what this is about. Probably due to some updated/outdated npm packages. I did not change any dependencies, so very likely a npm package with breaking changes. Just doing a clean install to try to reproduce the issue.

matthiaskoenig commented 3 years ago

The broken dependency is most likely https://www.npmjs.com/package/color-normalize which was released 3 days ago. Version 1.5.1 is broken, version 1.5.0 should work. Just have to figure out to enforce the version in npm.