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

EMFILE error #491

Closed
1 of 2 tasks
21522217 opened this issue Oct 29, 2023 · 1 comment
Closed
1 of 2 tasks

EMFILE error #491

21522217 opened this issue Oct 29, 2023 · 1 comment
Labels
bug Something isn't working needs-repro

Comments

@21522217
Copy link

Description

Error: [BABEL]: EMFILE: too many open files, open 'D:\source-code\do-an-1\mobile\eda\node_modules@babel\plugin-transform-destructuring\lib\index.js' (While processing: D:\source-code\do-an-1\mobile\eda\node_modules@babel\preset-env\lib\index.js)
at Object.openSync (node:fs:599:3)
at Object.readFileSync (node:fs:467:35)
at Module._extensions..js (node:internal/modules/cjs/loader:1137:18)
at Module.load (node:internal/modules/cjs/loader:998:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1022:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (D:\source-code\do-an-1\mobile\eda\node_modules@babel\preset-env\lib\available-plugins.js:30:37)
at Module._compile (node:internal/modules/cjs/loader:1120:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
at Module.load (node:internal/modules/cjs/loader:998:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1022:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (D:\source-code\do-an-1\mobile\eda\node_modules@babel\preset-env\lib\filter-items.js:10:25)
at Module._compile (node:internal/modules/cjs/loader:1120:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
at Module.load (node:internal/modules/cjs/loader:998:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1022:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (D:\source-code\do-an-1\mobile\eda\node_modules@babel\preset-env\lib\index.js:12:20)
at Module._compile (node:internal/modules/cjs/loader:1120:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
at Module.load (node:internal/modules/cjs/loader:998:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1022:19)
at require (node:internal/modules/cjs/helpers:102:18) {
errno: -4066,
syscall: 'open',
code: 'EMFILE',
path: 'D:\source-code\do-an-1\mobile\eda\node_modules\@babel\plugin-transform-destructuring\lib\index.js'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

in package.json

"react-native-builder-bob": {
"source": "./",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"main": "lib\commonjs\index.js",
"module": "lib\module\index.js",
"react-native": "index.js",
"types": "lib\typescript\index.d.ts",
"source": "index.js",
"files": [
"./",
"lib",
"!/tests",
"!
/fixtures",
"!**/mocks",
"./index.ts"
],
"eslintIgnore": [
"node_modules/",
"lib/"
]

Link to repro

No response

Environment

info Fetching system and libraries information...
System:
OS: Windows 10 10.0.22621
CPU: "(12) x64 AMD Ryzen 5 5600H with Radeon Graphics "
Memory: 6.21 GB / 15.39 GB
Binaries:
Node:
version: 18.7.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.19
path: D:\source-code\do-an-1\mobile\eda\node_modules.bin\yarn.CMD
npm:
version: 9.8.1
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio:
- 17.6.33815.320 (Visual Studio Community 2022)
Languages:
Java: 11.0.16.1
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.6
wanted: 0.72.6
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

@21522217 21522217 added the bug Something isn't working label Oct 29, 2023
@21522217 21522217 changed the title I dont really get this error EMFILE error Oct 29, 2023
@atlj
Copy link
Collaborator

atlj commented Oct 29, 2023

Hey, could you also provide a reproduction repo and reproduction steps?

@satya164 satya164 closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-repro
Projects
None yet
Development

No branches or pull requests

3 participants