albert-92
albert-92
I would like to know too.
Did you run it in development environment? My app.js is also 2-3MB in dev env. However in production env it's usually < 1MB (probably even smaller after gziped), since all...
I found something that might help you. Check your `webpack.make.js` and search for ``` new webpack.optimize.UglifyJsPlugin({ mangle: true, ... }) ``` If the mangle option is set to `false`, set...
If it worked before, then either your node.js version is too new (try to downgrade), or you installed some new package version which in incompatible, or you changed something in...
The `EADDRINUSE :::3001` results of browserSync and Socket.io both trying to listen on `3001`. After a restart browserSync usually switches to `3002` and the problem is resolved. However i have...
I finally could pin down the problem. in `\server\config\express.js` ``` browserSync.init({ open: false, logFileChanges: false, proxy: `localhost:${config.port}`, ws: true, middleware: [ webpackDevMiddleware(compiler, { noInfo: false, stats: { colors: true, timings:...
Ok i found the root cause. It's in the package [awesome-typescript-loader](https://github.com/s-panferov/awesome-typescript-loader). The problem is in the `checker.ts` in line `24`. `let checker: ChildProcess = childProcess.fork(path.join(__dirname, 'checker-runtime.js'));` Temporary fix is to...
Cool solution @blindstuff (https://github.com/angular-fullstack/generator-angular-fullstack/issues/2774#issuecomment-437958115) How about taking it even a little bit further like: _auth.service.ts:_ ``` hasRolePromise(role, callback?) { let is = !!this.currentUser._id; if(is || !localStorage.getItem('id_token')) { //Got the user...
What IDE do you use?