-
Notifications
You must be signed in to change notification settings - Fork 41
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
[Bug]: Running tuono dev
panics on version 0.17.7
#539
Comments
Hey Team, new update I was able to resolve the error.
|
Can you share the Regex you were using? |
This issue still persists even on the latest build with the prod mode for me, especially when using libraries that use unicode property escape regexes, like https://www.npmjs.com/package/linkifyjs. @Valerioageno |
Can you share the error you get by using that library? |
I immediately got this exact same error as OP's when starting the prod server and accessing the app.
It seems to only occur specifically when using any \p{...} (unicode property escapes) regex though, patching and removing the regex on the package solves the issue, at least for now.
|
Thanks for sharing |
Description
Recently updated my tuono cli to
0.17.7
When I run
tuono dev
I get this errorAfter this, going back to previous version also doesn't solve this error.
Expected behaviour
cargo install tuono
tuono --version
tuono 0.17.7
"tuono": "0.17.7"
tuono_lib = "=0.17.7"
.tuono
,target
,node_modules
,cargo.lock
andpackage-lock.json
npm i
tuono dev
It should work and serve the files.
How to reproduce
cargo install tuono
tuono --version
tuono 0.17.6
"tuono": "0.17.6"
tuono_lib = "=0.17.6"
.tuono
,target
,node_modules
,cargo.lock
andpackage-lock.json
npm i
tuono dev
I get this error instead. Same error occurs with
0.17.7
Screenshots
System Info
System: OS: macOS 15.3 CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz Memory: 190.44 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.9.0 - /usr/local/bin/node npm: 10.8.3 - /usr/local/bin/npm bun: 1.0.9 - /usr/local/bin/bun Browsers: Chrome: 113.0.5672.126 Safari: 18.3 npmPackages: tuono: 0.17.6 => 0.17.6
System info (Rust)
Additional context
No additional context
The text was updated successfully, but these errors were encountered: