Closed feitian124 closed 9 years ago
do i need fig installed? i only have docker-compose installed.
sane up
has some option to show more info? i checked sane
seems not.how-to-sane
aims to show user how to use sane, maybe we can add a script to check if all requirements are met?Can you please show the whole stack trace? I don't see the origin of the error.
I personally don't run this with docker, fig shouldn't matter for sane up. Try running the server and the client separately from their folders and see which one breaks and what the whole stack trace is.
@feitian124 You can try sane up --verbose
to see if there is any extra logging. There may not be, but it's worth a try.
As a note, you can sane <command> --help
to get additional options for each command like up, generate, new, etc.
@mgenev that is the whole stack trace.
when i running ther server and client separately, all seems fine but when i visit http://localhost:4200/register
and filled the form then submit, there is 404 error:
POST http://localhost:4200/api/v1/users 404 (Not Found)
i soved it with ember server --proxy http://localhost:1337
. if i run with sane up
, dose sane
solved the proxy problem?
if not we'd better config it in .ember-cli
.
@IanVS tried sane up --verbose
, the output the same.
@feitian124 Yes, when you sane up
it runs ember serve --proxy http://localhost:1337
To try to isolate where the problem is, can you try running sane up --skip-sails
and sane up --skip-ember
?
@feitian124 @IanVS yeah the verbose flag really just shows extra stuff when you use docker on Mac/Windows. Otherwise everything that ember/sails prints should be printed.
And yep as Ian mentioned try sane up --skip-sails
and sane up --skip-ember
, that is a vey good call. Also, which OS are you running? And which versions of node and sane-cli?
hi @mgenev @Globegitter , today i tried sane up
and it surprised me that very thing is ok now...
then i recall that yesterday in order to run ember server
in client folder, i installed ember-cli
globally.
I try uninstall ember-cli
then bingo, the err comes again.
I checked sane
and how-to-sane
document, there is no place mentioned a global installed ember-cli
is required.
can you confirm this is the root case? if so we may need document it some where.
What version of ember-cli did you install globally, and what is installed locally in your project?
Come to think of it, I've had problems in the past without having a globally installed ember-cli. Will try to look into this tonight to see if I can figure out what's causing it. I don't think the intent is to require global ember-cli.
both the globally and locally are the latest version: "0.2.0-beta.1",
@feitian124 You probably discovered a bug - see https://github.com/artificialio/sane/issues/111. Thanks for reporting :)
Since this is an issue with sane, we can close here.
hi @mgenev, i followed the steps, very thing is fine but
sane up
failed and the error message is too simple for me to resolve, below is the error message.the other steps is quite simple so should be fine, what is below step means?
i'm using ubuntu, i installed both:
then
sudo npm install -g gm
could you help? thank you.