qlik-demo-team / qdt-react-website

Website using the qdt-react-template with examples of all of the components.
https://webapps.qlik.com/qdt-components/react/index.html
MIT License
2 stars 3 forks source link

qdt react website fails to install #2

Closed YaroslavKharchenko closed 5 years ago

YaroslavKharchenko commented 5 years ago

Npm install returns warnings about deprecated packages:

npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

npm WARN qlik-react-starter@1.0.0 No repository field.
npm WARN qlik-react-starter@1.0.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 1480 packages from 1123 contributors and audited 12711 packages in 184.445s
found 8 vulnerabilities (2 low, 1 moderate, 5 high)

Using npm audit fix and npm audit fix --force leads to another warnings:

npm WARN webpack-dev-middleware@3.4.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webpack-dev-server@3.1.14 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN qlik-react-starter@1.0.0 No repository field.
npm WARN qlik-react-starter@1.0.0 No license field.

Update webpack to version 4.0.0 requires changing of webpack.config.js structure. Versions OS: Win10 NodeJS: 10.13.0 npm: 6.4.1 Could you please update files webpack.config.js and package.json according to compatible package versions?

yianni-ververis commented 5 years ago

The latest build is for webpack 4 and I just fixed and pushed all the audit fixes