Skip to content

[Bug] create error #888

Open
Open
@witt-bit

Description

Search before asking

  • 我在 issues 列表中搜索,没有找到类似的内容。
    I searched in the issues and found nothing similar.

Pake version

3.1.1

System version

Manjaro 24.2.1 Yonada

Node.js version

v23.6.0

Minimal reproduce step

pake "https://dashi.163.com/login/?from=dashi" --name 'dashi'

What did you expect to see?

generate app

What did you see instead?

Compiling futures-executor v0.3.31
   Compiling glib-sys v0.18.1
   Compiling gobject-sys v0.18.0
   Compiling gio-sys v0.18.1
   Compiling gdk-sys v0.18.2
   Compiling pango-sys v0.18.0
   Compiling cairo-sys-rs v0.18.2
   Compiling gdk-pixbuf-sys v0.18.0
   Compiling glib-macros v0.18.5
   Compiling atk-sys v0.18.2
   Compiling tauri-utils v2.1.1
   Compiling typenum v1.17.0
   Compiling gtk-sys v0.18.2
   Compiling proc-macro-crate v1.3.1
   Compiling generic-array v0.14.7
error: could not compile `writeable` (lib)

Caused by:
  process didn't exit successfully: `/home/witt/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name writeable --edition=2021 /home/witt/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/writeable-0.5.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bench", "either"))' -C metadata=c423d1d3c4beca72 -C extra-filename=-c423d1d3c4beca72 --out-dir /home/witt/.nvm/versions/node/v23.6.0/lib/node_modules/pake-cli/src-tauri/target/release/deps -C strip=debuginfo -L dependency=/home/witt/.nvm/versions/node/v23.6.0/lib/node_modules/pake-cli/src-tauri/target/release/deps --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
failed to build app: failed to build app
    Error failed to build app: failed to build app
file:///home/witt/.nvm/versions/node/v23.6.0/lib/node_modules/pake-cli/dist/cli.js:322
                reject(new Error(`Error occurred while executing command "${command}". Exit code: ${code}`));
                       ^

Error: Error occurred while executing command "cd "/home/witt/.nvm/versions/node/v23.6.0/lib/node_modules/pake-cli" && npm run build". Exit code: 1
    at file:///home/witt/.nvm/versions/node/v23.6.0/lib/node_modules/pake-cli/dist/cli.js:322:24
    at /home/witt/.nvm/versions/node/v23.6.0/lib/node_modules/pake-cli/node_modules/shelljs/src/exec.js:145:9
    at ChildProcess.exithandler (node:child_process:421:5)
    at ChildProcess.emit (node:events:507:28)
    at maybeClose (node:internal/child_process:1101:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)

Node.js v23.6.0

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions