Comments (6)
I'm sorry, do you have trouble with something? Not sure what this issue is for.
from actix-realworld-example-app.
when I follow readme to launch this proj, after run diesel database setup
, It gives error "Reason: image not found"
from actix-realworld-example-app.
I wonder to know if I lost any step for installing all dependencies
from actix-realworld-example-app.
I'm not sure what to tell you -- I don't think that kind of error message exists anywhere in the Diesel CLI.
You're going to have to be more clear. You have the correct diesel CLI installed, right? Type in which diesel
and diesel --version
and make sure it says something like:
allen@harumi ~/Projects master ● which diesel
/home/allen/.cargo/bin/diesel
allen@harumi ~/Projects master ● diesel --version
diesel 1.4.0
On Windows, you may see it as something like %USERPROFILE%/.cargo/bin/diesel
.
If not, you'll have to figure out how to install the diesel CLI properly. Make sure you are running this command (diesel database setup
or diesel setup
) in the root of this project (where the "migrations" folder is).
from actix-realworld-example-app.
That's it.
#which diesel /Users/xxx/.cargo/bin/diesel
#diesel version dyld: Library not loaded: @rpath/libmysqlclient.21.dylib Referenced from: /Users/xxx/.cargo/bin/diesel Reason: image not found Abort trap: 6
thx, seems that I need make a deeper searching for diesel installation.
from actix-realworld-example-app.
I don't cover how to install the diesel CLI in my guide, since the link to their page should describe it all. But if you are only using postgres and your postgres paths are properly linked in your environment, it should work. Since it looks like you've figured it out, I'll be closing this issue.
from actix-realworld-example-app.
Related Issues (20)
- Visiting localhost/api via browser causes threads to panic. HOT 4
- migrate to actix-web 1.0 HOT 2
- The authorization would better be a middleware wrapped
- Could you update me about what is left for this project to be complete? HOT 3
- Question about routes
- Will heavy database query make one of cpu cores idle? HOT 3
- actix 2.0 upgrade?
- Write proper unit tests and integration tests HOT 2
- Authentication logic
- error when run `cargo run` HOT 3
- error - "cargo build" HOT 1
- Deserialize(Error("EOF while parsing a value", line: 1, column: 0)) HOT 2
- Upgrade to latest actix-web and try proc macro way
- Finish the rest of application logic HOT 1
- Actix server + DNS
- Consider implementing FromRequest for authentication method HOT 1
- Unit Testing
- Set up a proper integration pipeline
- Missing field(s) in JSON payload should return a more detailed error message HOT 7
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 actix-realworld-example-app.