Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run dev error #31

Open
petercutting opened this issue Nov 23, 2020 · 0 comments
Open

npm run dev error #31

petercutting opened this issue Nov 23, 2020 · 0 comments

Comments

@petercutting
Copy link

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

[email protected] 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! [email protected] dev: cross-env NODE_ENV=development webpack-dev-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant