Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Usingcargo generate as described in the game of life example not working #52

Open
Assignees
ashleygwilliams
Labels
bugSomething isn't working
@bravecorvus

Description

@bravecorvus

Describe the Bug

I was following the example code athttps://rustwasm.github.io/docs/book/game-of-life/setup.html.

I was able to installcargo install cargo-generate without a problem, and also have the latest LTS version of NPM. (Also, did arustup update this morning to update my stable installation of rustc and cargo.)

However, when I runcargo generate --git https://www.github.com/rustwasm/wasm-pack-template and name my projectwasm-game-of-life, it fails to clone with the error⛔ Git Error: failed to clone into: /Users/andrewlee/Documents/Projects/Personal/Rust/wasm-game-of-life4g21l6

Steps to Reproduce

  1. cargo install cargo-generate
  2. cargo generate --git https://www.github.com/rustwasm/wasm-pack-template
  3. Name project

If applicable, add a link to a test case (as a zip file or link to a repository we can clone).

Expected Behavior

Not sure but I assume it should have set up a nice webasm project for me.

Actual Behavior

⛔ Git Error: failed to clone into: /Users/andrewlee/Documents/Projects/Personal/Rust/wasm-game-of-life4g21l6

If applicable, add screenshots to help explain your problem.

img

Additional Context

OS: macOS 10.14.5
cargo version: cargo 1.35.0 (6f3e9c367 2019-04-04)
rustc version: rustc 1.35.0 (3c235d560 2019-05-20)
npm version: 6.4.1
node version: v10.15.3
git version: git version 2.21.0

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp