-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Same as #1 (not fixed):
Replaced user?.id with user?.displayName in src/utils/hooks/useBoxes.ts.
pnpm run tauri build
> @dust-mail/web@1.0.2 tauri /home/tom/apps/dust-mail
> tauri "build"
Running beforeBuildCommand `pnpm run build`
> @dust-mail/web@1.0.2 build /home/tom/apps/dust-mail
> tsc && vite build
vite v3.2.11 building for production...
transforming (61) src/utils/hooks/useDeleteBox.tsModule level directives cause errors when bundled, 'use client' was ignored.
Module level directives cause errors when bundled, 'use client' was ignored.
transforming (90) node_modules/.pnpm/@mui+material@5.16.11_@Module level directives cause errors when bundled, 'use client' was ignored.
transforming (97) node_modules/.pnpm/@mui+material@5.16.11_@Module level directives cause errors when bundled, 'use client' was ignored.
Module level directives cause errors when bundled, 'use client' was ignored.
Module level directives cause errors when bundled, 'use client' was ignored.
...
PWA v0.12.8
mode generateSW
precache 9 entries (988.08 KiB)
files generated
dist/sw.js
dist/workbox-1616146e.js
error: invalid inline table
expected `}`
--> ../../../.cargo/git/checkouts/tauri-9dcc2f9152472c1a/647800c/tooling/cli/templates/plugin/with-api/examples/tauri-app/src-tauri/Cargo.toml:14:16
|
14 | tauri-build = {{ tauri_build_dep }}
| ^
|
Compiling proc-macro2 v1.0.59
Compiling unicode-ident v1.0.9
...
Compiling rand_core v0.6.4
error[E0635]: unknown feature `proc_macro_span_shrink`
--> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.59/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Error failed to build app: failed to build app
ELIFECYCLE Command failed with exit code 1.
Metadata
Metadata
Assignees
Labels
No labels