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

throw new Error('Electron builds are not available on platform: ' + platform) #1655

Open
joyboy67 opened this issue Sep 28, 2022 · 0 comments

Comments

@joyboy67
Copy link

$ doas yarn global add nightmare
doas ([email protected]) password: 
yarn global v1.22.18
[1/4] Resolving packages...
warning nightmare > [email protected]: not actively maintained; find alternatives
warning nightmare > electron > electron-download > nugget > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning nightmare > electron > electron-download > nugget > request > [email protected]: this library is no longer supported
warning nightmare > electron > electron-download > nugget > request > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
error /usr/local/share/.config/yarn/global/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments: 
Directory: /usr/local/share/.config/yarn/global/node_modules/electron
Output:
/usr/local/share/.config/yarn/global/node_modules/electron/install.js:69
      throw new Error('Electron builds are not available on platform: ' + platform)
      ^

Error: Electron builds are not available on platform: openbsd
    at getPlatformPath (/usr/local/share/.config/yarn/global/node_modules/electron/install.js:69:13)
    at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/electron/install.js:18:20)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

I fail to install Nightmare on OpenBSD (7.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant