Is it possible to install raylib

未关闭
#1,306 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
18/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
ios, swift
领域
mobile

调研方向

The failure is spawn EPERM raised inside npm's run-script and rebuild code, which runs from the app's sandboxed bundle on iPad, so start by confirming whether the app can spawn child processes at all. The payload names no repository file for this path. Done means either a reproducible fix for installing raylib through npm or a documented answer that the sandbox blocks it. The thread has one comment and has gone 231 days without a reply, so confirm with the maintainers before starting.

由索引模型根据 Issue 内容生成。

描述

Hello, is it possible to install raylib? tried doing it via npm and got these errors:

npm notice 
npm notice New major version of npm available! 8.5.2 -> 11.7.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.7.0
npm notice Run npm install -g [email protected] to update!
npm notice 
npm ERR! code EPERM
npm ERR! syscall spawn
npm ERR! errno -1
npm ERR! Error: spawn EPERM
npm ERR!     at ChildProcess.spawn (node:internal/child_process:414:11)
npm ERR!     at spawn (node:child_process:761:9)
npm ERR!     at /private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:36:12
npm ERR!     at new Promise (<anonymous>)
npm ERR!     at promiseSpawnUid (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:35:13)
npm ERR!     at promiseSpawn (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:15:10)
npm ERR!     at runScriptPkg (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:57:13)
npm ERR!     at runScript (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
npm ERR!     at Array.<anonymous> (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:321:17)
npm ERR!     at run (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/promise-call-limit/index.js:30:26)
npm ERR!  Error: spawn EPERM
npm ERR!     at ChildProcess.spawn (node:internal/child_process:414:11)
npm ERR!     at spawn (node:child_process:761:9)
npm ERR!     at /private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:36:12
npm ERR!     at new Promise (<anonymous>)
npm ERR!     at promiseSpawnUid (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:35:13)
npm ERR!     at promiseSpawn (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:15:10)
npm ERR!     at runScriptPkg (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:57:13)
npm ERR!     at runScript (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
npm ERR!     at Array.<anonymous> (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:321:17)
npm ERR!     at run (/private/var/containers/Bundle/Application/14CD2060-A842-4583-B025-FE62D163FD5A/Code.app/npm.bundle/node_modules/npm/node_modules/promise-call-limit/index.js:30:26) {
npm ERR!   errno: -1,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'spawn'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm notice 
npm notice New major version of npm available! 8.5.2 -> 11.7.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.7.0
npm notice Run npm install -g [email protected] to update!
npm notice 
npm ERR! Cannot read properties of undefined (reading 'stdin')

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/mobile/Containers/Data/PluginKitPlugin/F55ECFCA-B4BA-4723-AD77-4B202237FE40/Library/Caches/_logs/2026-01-20T10_54_22_615Z-debug-0.log
主要语言
Swift
星标
4k
派生
376
平均合并
1 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

thebaselab/codeapp 的其他 Issue

查看 thebaselab/codeapp 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。