Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 30 15:12
    bbrink68 commented #2049
  • Aug 23 13:34
    SouravKumar89 edited #2058
  • Aug 23 13:27
    SouravKumar89 opened #2058
  • Aug 22 00:04

    PatrickJS on master

    Update README.md (compare)

  • Aug 13 17:17
    ramsunvtech commented #1925
  • Aug 12 22:58
    terrancecorley commented #770
  • Aug 09 02:30
    jindovu commented #2049
  • Aug 09 02:22
    jindovu opened #2057
  • Aug 08 10:49
    krawinkelm commented #2053
  • Jul 21 14:14
    FilipLitwora commented #958
  • Jul 21 14:14
    FilipLitwora commented #958
  • Jul 21 14:14
    FilipLitwora commented #958
  • Jul 09 11:40
    Sanafan commented #1713
  • Jul 05 11:41
    hoang-innomizetech commented #2053
  • Jul 05 07:32
    Jilaba commented #1824
  • Jun 29 04:31
    Jason-Cooke synchronize #2055
  • Jun 28 14:51
    jesslilly commented #1827
  • Jun 12 18:16
    dvaldivia commented #1969
  • Jun 12 17:55
    dvaldivia commented #2049
  • Jun 12 07:51
    ppomet commented #2056
Paul Warelis
@pwarelis
Tried the --hot option on the dev server. Hot module replacement doesn't seem to work. I just reloads the entire page as it can't find the hot.json file. Any advice?
PatrickJS [tipe.io]
@gdi2290
@pwarelis I still need to build out that part for Angular2 but for now it’s reloading the page on each change
Martin
@margru
@gdi2290 OK, thank you very much for the explanation.
Paul Warelis
@pwarelis
@gdi2290 Nuts! Thanks for replying. Is that difficult to do?
Gajus Kuizinas
@gajus
Hello everyone. I am breaking apart the starter pack in hopes to understand it better and I've got stuck with a very basic issue. As soon as I use "router-link" directive, I get "Error: TypeError: list.reduce is not a function in [red in null]" error. Here is the live version, http://angular2.ngrok.com and the playground https://github.com/gajus/ng2-playground source code
Diego Barahona
@diestrin
Hello @gdi2290, first of all you made an extraordinary work in the set up of this starter. I'm just currently having an issues, and has to be something very stupid, but when I run npm start it throws a ton of warnings, and when I open the browser, it simply doesn't work
warnings are like WARNING in ../app-simple/app.ts
(1,1): File '/Users/diegob/Documents/Learn/ng2.0/angular2-webpack-starter/src/typings/_custom.d.ts' not found. (6053)
and indeed that file doesn't exists, so not sure what are you trying to reference in app.ts
PatrickJS [tipe.io]
@gdi2290
there was a problem with the repo for about an hour
Diego Barahona
@diestrin
oh... should I go and checkout an older version?
PatrickJS [tipe.io]
@gdi2290
ok yeah I see the problem one sec
Diego Barahona
@diestrin
your response time is amazing :p
PatrickJS [tipe.io]
@gdi2290
@diestrin okay it should be working now if you redownload it
np
Diego Barahona
@diestrin
amazing, pulling now :)
I'll try to take a look to how it works, and if I can find something to contribute I wll :)
will*
PatrickJS [tipe.io]
@gdi2290
kool thanks
Konstantin
@khwerhahn
could anybody help me to get material design working... I've tried to import it, but without much luck.
<script src="https://rawgit.com/urish/angular2-material-build/master/angular2_material.dev.js"></script>
import {MdInput, MdInputContainer} from 'angular2_material/material';
The error I get: Cannot find module 'angular2_material/material'. (2307)
MAJLGC
@MAJLGC
webpack-dev-server --- Getting following error in Windows
PatrickJS [tipe.io]
@gdi2290
@MAJLGC can you npm install -g webpack-dev-server
MAJLGC
@MAJLGC
No c:\Users\MAJLGC\Documents\GitHub\angular2-webpack-starter>webpack-dev-server
events.js:85
throw er; // Unhandled 'error' event
^
Error: listen EACCES
at exports._errnoException (util.js:746:11)
at Server._listen2 (net.js:1139:19)
at listen (net.js:1182:10)
at net.js:1280:9
I run "npm install -g webpack-dev-server " with no errors
PatrickJS [tipe.io]
@gdi2290
the problem for windows seems to be webpack-dev-server. can you run
npm run express-install
npm run express
ok if you’re able to install webpack-dev-server then it might work
osdevisnot
@osdevisnot
I thought EACCESS was for permissions. Maybe trying port other than 8080 will help?
MAJLGC
@MAJLGC
Not working...I`ve got same errr after install.
PatrickJS [tipe.io]
@gdi2290
@MAJLGC can you try the express install? @abhishekisnot you might be right
@MAJLGC after express-install can you run PORT=3000 npm run express if it’s still the same error
MAJLGC
@MAJLGC

@gdi2290 Yes, I did install express again and i´getting the same error c:\Users\MAJLGC\Documents\GitHub\angular2-webpack-starter>npm run express

angular2-webpack-starter@0.0.0 express c:\Users\MAJLGC\Documents\GitHub\angular2-webpack-starter
set NODE_ENV=development && node ./server/express-server-example.js

events.js:85
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
at exports._errnoException (util.js:746:11)
at Server._listen2 (net.js:1156:14)

PatrickJS [tipe.io]
@gdi2290
EADDRINUSE means you have something running on the same port 8080
@MAJLGC can you run PORT=3000 NODE_ENV=development node ./server/express-server-example.js
MAJLGC
@MAJLGC
@gdi2290 . SOrry . 8080 was already in use. Express waork OK but "webpack- dev-server" not. c:\Users\MAJLGC\Documents\GitHub\angular2-webpack-starter>webpack-dev-server
events.js:85
throw er; // Unhandled 'error' event
^
Error: listen EACCES
at exports._errnoException (util.js:746:11)
at Server._listen2 (net.js:1139:19)
at listen (net.js:1182:10)
at net.js:1280:9
at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:81:16)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:99:10)-
PatrickJS [tipe.io]
@gdi2290
@MAJLGC the problem is a permissions one so @abhishekisnot was right
osdevisnot
@osdevisnot
Webpack-dev-server --port 3000
MAJLGC
@MAJLGC
@gdi2290 @abhishekisnot . That works perfect. Thanks so much
PatrickJS [tipe.io]
@gdi2290
awesome! @abhishekisnot thanks for your help I added both errors to FAQ in the readme
osdevisnot
@osdevisnot
I always wondered why projects like webpack-dev-server and https://github.com/tapio/live-server use 8080
8080 is more for prod servers running on that host serving default address
PatrickJS [tipe.io]
@gdi2290
ok that makes sense
osdevisnot
@osdevisnot
angular-class/angular2-webpack-starter@e5ee183
Wow you are fast
PatrickJS [tipe.io]
@gdi2290
yeah I also have the command line and github open
MAJLGC
@MAJLGC
@gdi2290 In windows i had to make some changes to set enviromet variables. NODE_ENV= --> set NODE_ENV=
PatrickJS [tipe.io]
@gdi2290
@MAJLGC thanks, I need to work on the windows envoriment more. I need to get a windows machine to ensure everything works correctly
osdevisnot
@osdevisnot
qq: Is there a way to generate dgeni docs with webpack?
PatrickJS [tipe.io]
@gdi2290
good question but I don’t know if anyone made a loader for it