Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

RangeError: Wrong length! #14

Closed
edemen opened this issue Apr 13, 2020 · 2 comments
Closed

RangeError: Wrong length! #14

edemen opened this issue Apr 13, 2020 · 2 comments

Comments

@edemen
Copy link

edemen commented Apr 13, 2020

Hi

After cloning and doing yarn install and build, upon running yarn start I am getting this:

PS D:\work\repos\other\graphql-mongodb-example> yarn start
yarn run v1.17.3
$ node dist/index.js
RangeError: Wrong length!
    at validateArrayBufferArguments (D:\work\repos\other\graphql-mongodb-example\node_modules\core-js\modules\_typed-buffer.js:157:39)
    at new ArrayBuffer (D:\work\repos\other\graphql-mongodb-example\node_modules\core-js\modules\_typed-buffer.js:247:29)
    at zlib.js:334:28
    at NativeModule.compile (internal/bootstrap/loaders.js:300:5)
    at NativeModule.compileForPublicLoader (internal/bootstrap/loaders.js:217:8)
    at loadNativeModule (internal/modules/cjs/helpers.js:23:9)
    at Function.Module._load (internal/modules/cjs/loader.js:685:15)
    at Module.require (internal/modules/cjs/loader.js:830:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object.<anonymous> (D:\work\repos\other\graphql-mongodb-example\node_modules\body-parser\lib\read.js:18:12)

Could this be because of a dependency (or dependency of dependency) version?

@Fullchee
Copy link

Fullchee commented May 3, 2020

I got the same error when I installed everything with yarn.

I deleted my node_modules/.bin folder and then ran

npm i

and then it worked

@edemen edemen closed this as completed May 3, 2020
@edemen
Copy link
Author

edemen commented May 3, 2020

Great, thanks

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

No branches or pull requests

2 participants