Polymer / tools

Polymer Tools Monorepo
BSD 3-Clause "New" or "Revised" License
430 stars 200 forks source link

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

Open motss opened 6 years ago

motss commented 6 years ago

Description

Versions & Environment

Steps to Reproduce

Expected Results

Build completes with no error

Actual Results

error: [cli.main]   Uncaught exception: RangeError [ERR_OUT_OF_RANGE]: The value of "mode" is out of range. Received 33204
error: [cli.main]   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 (/usr/local/lib/node_modules/polymer-cli/node_modules/graceful-fs/polyfills.js:237:17)
    at mode (/usr/local/lib/node_modules/polymer-cli/node_modules/vinyl-fs/lib/fileOperations.js:132:10)
    at onStat (/usr/local/lib/node_modules/polymer-cli/node_modules/vinyl-fs/lib/fileOperations.js:125:14)
    at /usr/local/lib/node_modules/polymer-cli/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqWrap.oncomplete (fs.js:166:5)
nicolo-ribaudo commented 6 years ago

This is not a buig with polymer-cli; I'm geting the same error with other projects.

EDIT: https://github.com/isaacs/node-graceful-fs/issues/129

Fedeorlandau commented 6 years ago

Same here

AlexMtz commented 6 years ago

Same here

info: [cli.command.build]    Clearing build/ directory...
info: [cli.build.build]    (esm-bundled) Building...
info: [cli.build.build]    (es6-bundled) Building...
info: [cli.build.build]    (es5-bundled) Building...
error: [cli.main]   Uncaught exception: RangeError [ERR_OUT_OF_RANGE]: The value of "mode" is out of range. Received 33206
error: [cli.main]   RangeError [ERR_OUT_OF_RANGE]: The value of "mode" is out of range. Received 33206
    at Object.fs.fchmod (fs.js:1024:11)
    at Object.fchmod (/usr/lib/node_modules/polymer-cli/node_modules/graceful-fs/polyfills.js:237:17)
    at mode (/usr/lib/node_modules/polymer-cli/node_modules/vinyl-fs/lib/fileOperations.js:132:10)
    at onStat (/usr/lib/node_modules/polymer-cli/node_modules/vinyl-fs/lib/fileOperations.js:125:14)
    at /usr/lib/node_modules/polymer-cli/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqWrap.oncomplete (fs.js:150:5)
morbidick commented 6 years ago

just ran into the same issue, fixed it by reverting to node@8

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.