Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Eric M. Dantas
@ericmdantas
ng2?
Benni
@Benjaminanders
yes ng2. And i actually made some progress in the meantime :) I copied the content of dist in the root of web server and also copied the node_modules folder into the root as well
now it works, i can login and such, only thing that is not working is the routing. When I refresh the page i get a 404 error
Eric M. Dantas
@ericmdantas
nice to hear
the 404 thing has to be changed in the iss configs
because in the dev phase, it's aliv that takes care of the routing problem
Benni
@Benjaminanders
ok, any documentation or link that you can point me to?
Eric M. Dantas
@ericmdantas
let me see
Eric M. Dantas
@ericmdantas
Benni
@Benjaminanders
Awesome, I also was looking at the exact page, AND it works. Thanks a lot!! You made my day!
Eric M. Dantas
@ericmdantas
you're welcome :smile:
matthew harwood
@matthewharwood
@ericmdantas have you seen https://docs.nestjs.com/
super cool
Eric M. Dantas
@ericmdantas
looks really cool
how's it any different than kraken, though?
matthew harwood
@matthewharwood
@ericmdantas it's a different set of technology. It really feels like Angular. The nomenclature is just far mor familiar.
@decorators and dependancy injections. It just feels better.
where kraken opinions is to use dustjs and grunt build tools
just old and weird
Eric M. Dantas
@ericmdantas
hmm.. that's nice to hear
kkrishnan90
@kkrishnan90
Hey guys !! A newbie in the room.. :smile:
I love your generator so far going through the docs and structures..
Just a few things before I start using this one.
  1. I would like to know the structure for angular 2 based web apps .. I can see the project structure for angular 1. But is it the same for angular 2 as well ?
  1. I already have some API end points that I would like to plug them all in this one. Will I be able to do it ? (Sorry if this is a noob question, just wanted to confirm before I start and dump my codes if it isn't what I want for)...
Eric M. Dantas
@ericmdantas
Hey, @kkrishnan90. Sorry for the delay, I was on vacation.
  1. Yup, same structure.
  2. Well, that should be alright to do, the thing that could give you a bit of trouble is the folder structure, other than that, it's just copy/paste
kkrishnan90
@kkrishnan90
Thanks @ericmdantas .. I'll check on this one in a couple of days . I'm on a vacation now.. sorry for the delay.. :smile:
Eric M. Dantas
@ericmdantas
:laughing: :+1:
Safwen MARZOUGUI
@smarzougui
Hello
tried to generate by Yo
Got this error:

Make sure you are in the directory you want to scaffold into.
This generator can also be run with: yo ng-fullstack

 _-----_     ╭───────────────────────╮
|       |    │      Bye from us!     │
|--(o)--|    │       Chat soon.      │

---------´ │ Yeoman team │ ( _´U_ ) │ http://yeoman.io
/A\ /╰───────────────────────╯
| ~ |
'._.'__
´ |° ´ Y

SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:404:25)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.get [as ng-fullstack:app] (/usr/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:38:27)
at Store.get (/usr/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:61:39)
at Environment.get (/usr/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:322:23)

Make sense to you ?
Eric M. Dantas
@ericmdantas
hey there, @smarzougui
what's your node version?
duongtranfu
@duongtranfu
hi @ericmdantas why ng-fullstack didn't give me "ng2" option ?

trans-MacBook-Pro:mean-eric-2 tranducduong$ yo ng-fullstack

Just found a .yo-rc.json in a parent directory.
Setting the project root at: /Users/tranducduong/Documents/study/MEAN

 _-----_     
|       |    ╭──────────────────────────╮
|--(o)--|    │  Welcome to the terrific │

---------´ │ NgFullstack generator! │ ( _´U_ ) ╰──────────────────────────╯
/A\ /
| ~ |
'._.'__
´ |° ´ Y

? What is your app name? mean-eric-2
? What is your username? duong
? What is your email (used in your package.json)? user.email@example.com
? Which stack do you want? client
? Which Git repository hosting service are you using? github
? Vue2 or Angular1 on client side?
vue2
❯ ng1

only "vue2" and "ng1"
duongtranfu
@duongtranfu
anyone here :D
Rosoft
@rosoftdeveloper
Hello Guys
I'm trying to use the generator, vue2 with express , separate folders
npm run dev target return:
starting node ./server/index.js .. starting node ./server/index.js -> Error: Cannot find module 'morgan'
Any hint? thanks
Eric M. Dantas
@ericmdantas
. @duongtranfu Sorry for taking so long I wasn't using Gitter these days. So, ng2 already has its own "generator", called ng-cli - so I removed it in favor of that
Eric M. Dantas
@ericmdantas
. @rosoftdeveloper try running npm i --save morgan and then run npm run dev again, please
Eric M. Dantas
@ericmdantas
@rosoftdeveloper can you try running npm i --save morgan and run npm run dev again?
. @rosoftdeveloper try running npm i --save morgan and then run npm run dev again, please
@duongtranfu sorry for taking so long, I wasn't using gitter these days. ng2 already has its generator (the ng-cli project) - so I removed it in favor of that
@duongtranfu Sorry for taking so long I wasn't using Gitter these days. So, ng2 already has its own "generator", called ng-cli - so I removed it in favor of that