Comments (5)
Try cargo build instead
from vue-compiler.
wuls@XD021NB2003146 crates % cargo build
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
Compiling vue-ref-transform v0.1.0 (/Users/wuls/Desktop/rust/vue-compiler/crates/ref_transform)
warning: function is never used: is_start_of_statement
--> crates/sfc/src/rewrite_default.rs:26:4
|
26 | fn is_start_of_statement(input: &str, pos: usize) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)]
on by default
warning: vue-compiler-sfc
(lib) generated 1 warning
Compiling vue-compiler-cli v0.1.0 (/Users/wuls/Desktop/rust/vue-compiler/crates/cli)
The following warnings were emitted during compilation:
warning: clang: error: no such file or directory: 'tree-sitter-javascript/src/parser.c'
warning: clang: error: no input files
error: failed to run custom build command for vue-ref-transform v0.1.0 (/Users/wuls/Desktop/rust/vue-compiler/crates/ref_transform)
Caused by:
process didn't exit successfully: /Users/wuls/Desktop/rust/vue-compiler/target/debug/build/vue-ref-transform-2b7ae479dd17cdb2/build-script-build
(exit status: 1)
--- stdout
TARGET = Some("x86_64-apple-darwin")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-apple-darwin")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3,ssse3")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3,ssse3")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3,ssse3")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3,ssse3")
running: "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"
cargo:warning=clang: error: no such file or directory: 'tree-sitter-javascript/src/parser.c'
cargo:warning=clang: error: no input files
exit status: 1
--- 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...
error: build failed
wuls@XD021NB2003146 crates %
will be same error
from vue-compiler.
git submodule update --recursive
from vue-compiler.
wuls@XD021NB2003146 vue-compiler % git submodule update --recursive
wuls@XD021NB2003146 vue-compiler % cargo build
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
Compiling vue-ref-transform v0.1.0 (/Users/wuls/Desktop/rust/vue-compiler/crates/ref_transform)
warning: function is never used: is_start_of_statement
--> crates/sfc/src/rewrite_default.rs:26:4
|
26 | fn is_start_of_statement(input: &str, pos: usize) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)]
on by default
warning: vue-compiler-sfc
(lib) generated 1 warning
The following warnings were emitted during compilation:
warning: clang: error: no such file or directory: 'tree-sitter-javascript/src/parser.c'
warning: clang: error: no input files
error: failed to run custom build command for vue-ref-transform v0.1.0 (/Users/wuls/Desktop/rust/vue-compiler/crates/ref_transform)
Caused by:
process didn't exit successfully: /Users/wuls/Desktop/rust/vue-compiler/target/debug/build/vue-ref-transform-2b7ae479dd17cdb2/build-script-build
(exit status: 1)
--- stdout
TARGET = Some("x86_64-apple-darwin")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-apple-darwin")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3,ssse3")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3,ssse3")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3,ssse3")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3,ssse3")
running: "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"
cargo:warning=clang: error: no such file or directory: 'tree-sitter-javascript/src/parser.c'
cargo:warning=clang: error: no input files
exit status: 1
--- 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 git submodule update --recursive
,
but still error
from vue-compiler.
git submodule init
git submodule update --recursive
https://git-scm.com/book/en/v2/Git-Tools-Submodules#_cloning_submodules
from vue-compiler.
Related Issues (18)
- tracking snapshot testing library
- Add pre-commit for better engineering HOT 1
- Should RE used in the crate?
- Parse range error HOT 1
- Dependency Dashboard
- SWC or Rslint ? HOT 8
- Continuous Benchmark HOT 1
- Rayon parallelization?
- Is there a plan here ? HOT 3
- run playground/"npm run build" throw an error HOT 1
- can it remove the nightly features ? HOT 1
- vue-compiler-core problems HOT 11
- Is this project still active? HOT 3
- Separate parser as a dedicated crate HOT 6
- Wrong output when script contains TS generics HOT 3
- _resolveComponent should include quotes
- fervid和这个库干的是一件事吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-compiler.