Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Tobbeman
@Tobbeman
Thank you for your help so far btw :smile:
Tobbeman
@Tobbeman
I'll check in again tomorrow, hope you'll keep helping me :)
Eric M. Dantas
@ericmdantas
sorry, I had to go out for lunch
let me know how it goes
Tobbeman
@Tobbeman
Still have the same problems sadly ;/
Eric M. Dantas
@ericmdantas
how are you starting the app? node server/index?
Martin Arvedahl
@marvedly

Hmm, I have a question regarding the tests. When I try to run the tests I get this error message:

Uncaught Error: Missing: SyncTestZoneSpec
  at node_modules/zone.js/dist/jasmine-patch.js:43

It seems like zone.js@0.6.26 is not installed when running npm install. Any ideas?

Eric M. Dantas
@ericmdantas
that's a known issue: #101
since everything was a mess because of all the updates happening in ng2, it was nearly impossible to keep up with the test changes
so there are a few stuff that have to be changed to get that working
Martin Arvedahl
@marvedly
Thanks for the fast reply :smile: Okay, so there's not really a quick fix?
Is there no way to run the test as it is now?
Eric M. Dantas
@ericmdantas
not for ng2, sorry
it's been a real struggle to get that working
the ng team wasn't helping much, so I had to kind of give up on it to get other stuff going
Martin Arvedahl
@marvedly
I understand... So to be clear, there is really no way to get testing going with angular2 as it stands? Then we will probably have to resort to an a separate angular CLI project for the front-end this time
Eric M. Dantas
@ericmdantas
I mean, you could try to figure out what's missing to get it to work - but last time I checked it was pretty annoying
so you could be better off with the angular CLI for now
Martin Arvedahl
@marvedly
Okay, thanks!
Tobbeman
@Tobbeman
Hey Eric! I decided to move on and test other things
Thank you for your help and keep up the good work! :D
Eric M. Dantas
@ericmdantas
no problem, good luck :smile:
Benni
@Benjaminanders
Hello, someone there?
Eric M. Dantas
@ericmdantas
yo, @Benjaminanders
Benni
@Benjaminanders
Hi Eric, how is it going?
We are working on a project based on your generator and we are now close to a deployment. The thing is we are running IIS server and so far we didnt figure out how we can deploy our project in IIS. Is there any documentation about how to build it (i guess with npm run build-dist first), what folders how to move to iis and how to configure iis to work with it?
Eric M. Dantas
@ericmdantas
well, it shouldn't be any different from any static server
the files to be served to the frontend will be in the dist folder and everything else is in the server folder
you can either use a proxy to pass the requests to the server or call the full domain from your app
Benni
@Benjaminanders
what do you mean with the server folder? I know the dist server, as this is built through build-dist command. Then when I copy that folder into iis and try to open it in the browser, it says that the node_modules folder in web server root is missing
Eric M. Dantas
@ericmdantas
your're using a client only app or fullstack?
Benni
@Benjaminanders
client only
when we run npm run watch everything works perfectly fine
it opens up in the browser and all is working
Eric M. Dantas
@ericmdantas
what client framework you're using?
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?