maxmantz / redux-oidc-example

Small ReactJS application to demonstrate the usage of redux-oidc
MIT License
108 stars 68 forks source link

npm run dev error #31

Open petercutting opened 3 years ago

petercutting commented 3 years ago

there seems to be a possibility to start the project using

npm run dev

however when surfing to the site it crashes with

$ npm run dev

redux-oidc-example@1.0.0 dev C:\Users\peter\Documents\react\redux-oidc-example cross-env NODE_ENV=development webpack-dev-server

Project is running at https://localhost:8080/ webpack output is served from / 404s will fallback to /index.html

webpack: Compiled successfully. (node:2480) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated internal/buffer.js:945 class FastBuffer extends Uint8Array {} ^

RangeError: Invalid typed array length: -4095 at new Uint8Array () at new FastBuffer (internal/buffer.js:945:1) at Handle.onStreamRead [as onread] (internal/stream_base_commons.js:185:19) at Stream. (C:\Users\peter\Documents\react\redux-oidc-example\node_modules\handle-thing\lib\handle.js:120:12) at Stream.emit (events.js:327:22) at endReadableNT (C:\Users\peter\Documents\react\redux-oidc-example\node_modules\spdy-transport\node_modules\readable-stream\lib_stream_readable.js:1010:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! redux-oidc-example@1.0.0 dev: cross-env NODE_ENV=development webpack-dev-server npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the redux-oidc-example@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.