-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
run cargo install will be an error #274
Comments
Try cargo build instead |
wuls@XD021NB2003146 crates % cargo build warning: warning: clang: error: no such file or directory: 'tree-sitter-javascript/src/parser.c' error: failed to run custom build command for Caused by: --- stderr error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "tree-sitter-javascript/src" "-Wall" "-Wextra" "-Wno-unused-parameter" "-Wno-trigraphs" "-o" "/Users/wuls/Desktop/rust/vue-compiler/target/debug/build/vue-ref-transform-0bc9a8bcee6b0e99/out/tree-sitter-javascript/src/parser.o" "-c" "tree-sitter-javascript/src/parser.c" with args "cc" did not execute successfully (status code exit status: 1). warning: build failed, waiting for other jobs to finish... will be same error |
|
wuls@XD021NB2003146 vue-compiler % git submodule update --recursive warning: warning: clang: error: no such file or directory: 'tree-sitter-javascript/src/parser.c' error: failed to run custom build command for Caused by: --- stderr error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "tree-sitter-javascript/src" "-Wall" "-Wextra" "-Wno-unused-parameter" "-Wno-trigraphs" "-o" "/Users/wuls/Desktop/rust/vue-compiler/target/debug/build/vue-ref-transform-0bc9a8bcee6b0e99/out/tree-sitter-javascript/src/parser.o" "-c" "tree-sitter-javascript/src/parser.c" with args "cc" did not execute successfully (status code exit status: 1). I executed |
https://git-scm.com/book/en/v2/Git-Tools-Submodules#_cloning_submodules |
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /Users/wuls/Desktop/rust/vue-compiler/crates/wasm/Cargo.toml
workspace: /Users/wuls/Desktop/rust/vue-compiler/Cargo.toml
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /Users/wuls/Desktop/rust/vue-compiler/napi/Cargo.toml
workspace: /Users/wuls/Desktop/rust/vue-compiler/Cargo.toml
error: found a virtual manifest at
/Users/wuls/Desktop/rust/vue-compiler/Cargo.toml
instead of a package manifestI follow this doc,
it will be an error
The text was updated successfully, but these errors were encountered: