Comments (7)
I am not using cargo-clif
(I only found out about it just now, from this bug and #246).
I can no longer reproduce the problem after upgrading perseus-cli to 0.4.0-beta.14. Thanks for the fix!
from perseus.
Yes, I'm aware of this happening only sometimes, and I've yanked beta 12 accordingly. To my understanding for now, this would appear to be a duplicate of #246, because I've only observed this error when using cargo-clif
. Are you seeing this with the default compiler? (Note that this may well be a bug that only occurs sometimes.)
from perseus.
Note that I was able to get the website working perfectly after cargo clean
without using the experimental compiler backend.
from perseus.
Actually, now I think about it, this could just be a cargo clean
problem coming from the old beta versions. If you're able to reproduce this after a cargo clean && perseus clean
(remember Perseus maintains its own target/
directories in dist/
), it's definitely a bug.
from perseus.
Now getting this in CI for the website on the new beta 13 (which fixed some fatal bugs from beta 12)...but not locally...
EDIT: I thought this made no sense whatsoever, if .cargo/config.toml
was fixing the problem, but it's actually the fault of my poor caching mechanics, as GHA was caching a previous beta version that obviously wasn't passing any RUSTFLAGS
. Deleting that cache and using beta 14 allows the website to successfully compile.
from perseus.
Working theory: lockfile generation is not passed the RUSTFLAGS
, meaning it will only work if there's a .cargo/config.toml
in your project setting the necessary flags.
Fixing this seems to make the basic example at least build with cargo-clif
.
from perseus.
@marienz I think this issue is fixed now in v0.4.0-beta.14, would you mind giving that a try? If you're still having issues, do try a cargo clean && perseus clean
. I'll close this for now.
from perseus.
Related Issues (20)
- Using the translation feature as well as having global build state causes an error when the user navigates directly to the root page (or any valid page) when not including the locale in the path. HOT 1
- Failed to run `cargo install perseus-cli` without the `--locked` flag HOT 4
- Using the builder pattern `input().bind_value(...)` perseus panics HOT 5
- Using global state in a Capsule as well as a Template leads to unreachable code being reached at build-time HOT 2
- Vectors do not work in `ReactiveState` HOT 4
- [Router] [Bug] When using `.incremental_generation()`, you cannot navigate to a new route on the same page. HOT 3
- When trying to run a perseus app with docker, it gets: `Error: asset './dist/render_conf.json' not found in store` HOT 2
- Fail proceed 'perseus build' after upgraded to v0.4.1 HOT 3
- Build-time state can be user or "segment" specific, and it's actually easy to setup HOT 3
- Missing </body></html> HOT 1
- perseus-cli/0.4.2 crate is missing the tests folder HOT 3
- console_error_panic_hook HOT 2
- State amalgamation with different types HOT 1
- The command `Perseus serve -w` is very slow when listening to a large number of files. HOT 1
- Bootstrap scrollspy support HOT 4
- Cli will report "Couldn't find cargo" when it can't find powershell HOT 12
- Unable to Fetch Data from API Container Using Sockets in Perseus Container HOT 1
- Connection refused on custom dflt_server on GET and POST HOT 4
- Ability to derive traits on reactive version of state HOT 1
- How to prevent the cli to redownload the crates 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 perseus.