Skip to content

build/install fails, node-gyp has errors #12

@Blade04208

Description

@Blade04208

archlinux, aur

  File "/home/blade0/.cache/yay/dotline/src/dotline-0.3.1/node_modules/.pnpm/node-gyp@9.4.1/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
    import gyp  # noqa: E402
    ^^^^^^^^^^
  File "/home/blade0/.cache/yay/dotline/src/dotline-0.3.1/node_modules/.pnpm/node-gyp@9.4.1/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
    import gyp.input
  File "/home/blade0/.cache/yay/dotline/src/dotline-0.3.1/node_modules/.pnpm/node-gyp@9.4.1/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
    from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
Error: `gyp` failed with exit code: 1
    at ChildProcess.onCpExit (/home/blade0/.cache/yay/dotline/src/dotline-0.3.1/node_modules/.pnpm/node-gyp@9.4.1/node_modules/node-gyp/lib/configure.js:325:16)
    at ChildProcess.emit (node:events:508:20)
    at ChildProcess._handle.onexit (node:internal/child_process:293:12)


  ⨯ node-gyp failed to rebuild '/home/blade0/.cache/yay/dotline/src/dotline-0.3.1/node_modules/.pnpm/register-scheme@https+++codeload.github.com+devsnek+node-register-scheme+tar.gz+e7cc9a63a1f512565da44cb57316d9fb10750e17/node_modules/register-scheme'  failedTask=installAppDeps stackTrace=Error: node-gyp failed to rebuild '/home/blade0/.cache/yay/dotline/src/dotline-0.3.1/node_modules/.pnpm/register-scheme@https+++codeload.github.com+devsnek+node-register-scheme+tar.gz+e7cc9a63a1f512565da44cb57316d9fb10750e17/node_modules/register-scheme'
    at ChildProcess.<anonymous> (/home/blade0/.cache/yay/dotline/src/dotline-0.3.1/node_modules/.pnpm/@electron+rebuild@3.6.1/node_modules/@electron/rebuild/lib/module-type/node-gyp/node-gyp.js:121:24)
    at ChildProcess.emit (node:events:508:20)
    at ChildProcess._handle.onexit (node:internal/child_process:293:12)

 ELIFECYCLE  Command failed with exit code 1.
==> ERROR: A failure occurred in build().
    Aborting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions