Git Product home page Git Product logo

Comments (13)

feitian124 avatar feitian124 commented on July 19, 2024

do i need fig installed? i only have docker-compose installed.

from how-to-sane.

feitian124 avatar feitian124 commented on July 19, 2024
  1. does sane up has some option to show more info? i checked sane seems not.
  2. as how-to-sane aims to show user how to use sane, maybe we can add a script to check if all requirements are met?

from how-to-sane.

mgenev avatar mgenev commented on July 19, 2024

Can you please show the whole stack trace? I don't see the origin of the error.

from how-to-sane.

mgenev avatar mgenev commented on July 19, 2024

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.

from how-to-sane.

IanVS avatar IanVS commented on July 19, 2024

@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.

from how-to-sane.

feitian124 avatar feitian124 commented on July 19, 2024

@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.

from how-to-sane.

IanVS avatar IanVS commented on July 19, 2024

@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?

from how-to-sane.

Globegitter avatar Globegitter commented on July 19, 2024

@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?

from how-to-sane.

feitian124 avatar feitian124 commented on July 19, 2024

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.

from how-to-sane.

IanVS avatar IanVS commented on July 19, 2024

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.

from how-to-sane.

feitian124 avatar feitian124 commented on July 19, 2024

both the globally and locally are the latest version: "0.2.0-beta.1",

from how-to-sane.

Globegitter avatar Globegitter commented on July 19, 2024

@feitian124 You probably discovered a bug - see sane/sane#111. Thanks for reporting :)

from how-to-sane.

Globegitter avatar Globegitter commented on July 19, 2024

Since this is an issue with sane, we can close here.

from how-to-sane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.