appbaseio / mirage

:art: GUI for simplifying Elasticsearch Query DSL
http://opensource.appbase.io/mirage
Other
2.21k stars 125 forks source link

Cannot find name 'appbaseService' #12

Closed AbdullahAli closed 7 years ago

AbdullahAli commented 7 years ago

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 7 years ago

@AbdullahAli Sorry for that, Can you try now, I was in middle of development.

AbdullahAli commented 7 years ago

awesome stuff, it works now! 👍

screen shot 2016-10-06 at 16 08 49

farhan687 commented 7 years ago

cool.