prashuMishra
prashuMishra
i tried all the solution still "ng" in not recognized. plz help
Yes i have upgraded after posting it... the problem was same. C:\Users\prashant-mishra>node -v v6.11.1 More over ng command is not recognized into any other directive except the npm directive... Even...
C:\Projects\practice>npm install -g @angular/cli npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\@angular\cli\node_modules\ chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"dar win","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR!...
i have the same issue, while installation of node-sass npm ERR! path C:\Projects\\node_modules\@angular\cdk\esm5 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall unlink npm ERR! Error: EPERM: operation...
I was facing the same issue. i found there could be two case for such problem. 1. Provide the absolute path in routes. i.e {path: 'admin', loadChildren:() => AdminModule }...
i have the same issue. app.route.ts. export const ROUTES: Routes = [ { path: '', loadChildren: 'app/login/login.module#LoginModule', }, { path: 'home', loadChildren: 'app/home/home.module#HomeModule', canActivate: [AuthGuard] }, { path: '**', redirectTo:...
Type 'Promise<boolean>' is not assignable to type 'boolean | PromiseLike<false> | PromiseLike<true>'
It is a async function and should return promise or observable. `return new Promise((resolve, reject) => { resolve(true); })`
i am facing the same issue