Skip to content

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

Closed

Description

@nicolo-ribaudo
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

Activity

  1. motss commented on May 22, 2018

    @motss

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

  2. nojimage commented on May 25, 2018

    @nojimage

    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

  3. Fedeorlandau commented on May 30, 2018

    @Fedeorlandau

    It's happening on travis CI

  4. SamuelNorbury commented on Jun 5, 2018

    @SamuelNorbury

    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.

  5. TimvdLippe commented on Jun 9, 2018

    @TimvdLippe

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

  6. added a commit that references this issue on Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions