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

npm pack issue #511

Closed
1 of 2 tasks
ponrajasekar opened this issue Dec 27, 2023 · 2 comments
Closed
1 of 2 tasks

npm pack issue #511

ponrajasekar opened this issue Dec 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ponrajasekar
Copy link

Description

Capture

Packages

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

Selected options

npm ERR! code 1
npm ERR! path D:\React\react-native-awesome-library
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c bob build
npm ERR! node:fs:581
npm ERR! return binding.open(
npm ERR! ^
npm ERR!
npm ERR! Error: ENOENT: no such file or directory, open 'D:\C:\Users\ponrajasekart\AppData\Roaming\npm\node_modules\bob\conf\commands.json'
npm ERR! at Object.openSync (node:fs:581:18)
npm ERR! at Object.readFileSync (node:fs:457:35)
npm ERR! at Object.exec (file:///C:/Users/ponrajasekart/AppData/Roaming/npm/node_modules/bob/lib/cli.js:53:42)
npm ERR! at file:///C:/Users/ponrajasekart/AppData/Roaming/npm/node_modules/bob/bin/bob.js:4:5
npm ERR! at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
npm ERR! at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
npm ERR! at async loadESM (node:internal/process/esm_loader:28:7)
npm ERR! at async handleMainPromise (node:internal/modules/run_main:120:12) {
npm ERR! errno: -4058,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'open',
npm ERR! path: 'D:\C:\Users\ponrajasekart\AppData\Roaming\npm\node_modules\bob\conf\commands.json'
npm ERR! }
npm ERR!
npm ERR! Node.js v21.5.0

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ponrajasekart\AppData\Local\npm-cache_logs\2023-12-27T09_06_40_393Z-debug-0.log

Link to repro

https://medium.com/simform-engineering/create-and-publish-react-native-package-d89c68b3ccc0

Environment

Capture

@ponrajasekar ponrajasekar added the bug Something isn't working label Dec 27, 2023
@EliasB23
Copy link

Did you find a solution for this?

@atlj
Copy link
Collaborator

atlj commented May 6, 2024

This seems like a Windows issue. We haven't been testing our changes against Windows and Windows compatibility isn't a goal of ours right now. I'd suggest using WSL. Sorry for the inconvenience.

@atlj atlj closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 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
Projects
None yet
Development

No branches or pull requests

3 participants