Cannot find name 'appbaseService'
AbdullahAli opened this issue · 3 comments
AbdullahAli commented
After I npm install
, bower install
and npm start
, I get the following error:
Can you please help?
npm start
> mirage@0.1.0 start /Users/aliabd01/Desktop/mirage
> tsc && concurrently "npm run tsc:w" "npm run lite" "gulp watch"
app/app.component.ts(153,26): error TS2663: Cannot find name 'appbaseService'. Did you mean the instance member 'this.appbaseService'?
app/app.component.ts(159,21): error TS2304: Cannot find name 'indice'.
app/app.component.ts(162,52): error TS2304: Cannot find name 'indice'.
app/app.component.ts(168,34): error TS2304: Cannot find name 'indice'.
app/app.component.ts(171,34): error TS2304: Cannot find name 'indice'.
app/app.component.ts(176,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'obj' must be of type '{ appname: any; url: string; }', but here has type '{ appname: string; url: string; }'.
app/app.component.ts(186,31): error TS2304: Cannot find name 'appbaseService'.
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.7.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! mirage@0.1.0 start: `tsc && concurrently "npm run tsc:w" "npm run lite" "gulp watch" `
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the mirage@0.1.0 start script 'tsc && concurrently "npm run tsc:w" "npm run lite" "gulp watch" '.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mirage package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc && concurrently "npm run tsc:w" "npm run lite" "gulp watch"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mirage
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mirage
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/aliabd01/Desktop/mirage/npm-debug.log
farhan687 commented
@AbdullahAli Sorry for that, Can you try now, I was in middle of development.
AbdullahAli commented
farhan687 commented
cool.