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

RangeError [ERR_OUT_OF_RANGE]: The value of "mode" is out of range. Received 33204 #129

Closed
nicolo-ribaudo opened this issue May 22, 2018 · 5 comments

Comments

@nicolo-ribaudo
Copy link

nicolo-ribaudo commented May 22, 2018

RangeError [ERR_OUT_OF_RANGE]: The value of "mode" is out of range. Received 33204
    at Object.fs.fchmod (fs.js:1038:11)
    at Object.fchmod (/home/nicolo/Documenti/dev/babel/node_modules/graceful-fs/polyfills.js:237:17)
    at mode (/home/nicolo/Documenti/dev/babel/node_modules/vinyl-fs/lib/file-operations.js:237:10)
    at onStat (/home/nicolo/Documenti/dev/babel/node_modules/vinyl-fs/lib/file-operations.js:227:14)
    at /home/nicolo/Documenti/dev/babel/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqWrap.oncomplete (fs.js:166:5)

I get this error when building the Babel repo with gulp.

Node version: 10.1.0
graceful-fs@4.1.11

It works on node 8

@motss
Copy link

motss commented May 22, 2018

Just to add on the issue. It happens when you're out of luck. It works sometimes for Node 8+

@nojimage
Copy link

I got the same problem.

In my case, I solved it by resetting the file permissions of the source file to be processed.
(change from 0664 to 0644

@Fedeorlandau
Copy link

It's happening on travis CI

@SamuelNorbury
Copy link

I've had this happen seemingly random inside a docker container running Node v10.2.1 and Node v10.3.0 with npm@6.1.0, gulp@4.0.0, graceful-fs@4.1.2. Occassionally gulp will run.

@TimvdLippe
Copy link

This should be getting fixed with nodejs/node#20498 and is backported at nodejs/node#20975

tobias-kuendig added a commit to OFFLINE-GmbH/docker-gulp that referenced this issue Jun 12, 2018
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

6 participants