Build failed on MacOS Similar the other issue with Mac OS
pokersolver opened this issue · 0 comments
So I get to this step- $ npm run tauri build
And I get this script fail and have know clue how to fix it...I am not a software engineer or coder in any way, shape or form. So please forgive me. Also I used the tar.gz release. I was guessing this was the correct one for a Mac, though ran into the same issue with the zip file as well.
npm run tauri build
Running beforeBuildCommandnpm run build
warnings when minifying css:
▲ [WARNING] Expected identifier but found "-" [css-syntax-error]
<stdin>:1889:2:
1889 │ -: ,;
╵ ^
(!) Some chunks are larger than 500 kBs after minification. Consider:
-
Using dynamic import() to code-split the application
-
Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
-
Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
Compiling proc-macro2 v1.0.52
Compiling libc v0.2.140
Compiling proc-macro-hack v0.5.20+deprecated
Compiling siphasher v0.3.10
Compiling parking_lot_core v0.9.7
Compiling crossbeam-utils v0.8.15
Compiling log v0.4.17
Compiling lock_api v0.4.9
Compiling scopeguard v1.1.0
Compiling new_debug_unreachable v1.0.4
error[E0635]: unknown featureproc_macro_span_shrink
--> /Users/gregorygazzano/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.52/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^Compiling byteorder v1.4.3
For more information about this error, tryrustc --explain E0635
.
error: could not compileproc-macro2
(lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Error failed to build app: failed to build app
Thank you so much for making this program and helping all of us out!