Skip to content

Is it possible to install raylib #1306

Open

Description

@noelnuguid

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 npm@11.7.0 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 npm@11.7.0 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

Activity

  1. Knoficooki commented on Feb 21, 2026

    @Knoficooki

    If you want to run raylib on a website you could follow this link: https://github.com/raysan5/raylib/wiki/Working-for-Web-(HTML5) (Working for Web (HTML5)), but this would need the emscripten SDK (because it would be running in a javascript environment) which to my knowledge is not provided by the App

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions