> node-sass@4.5.3 install C:\Users\\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\node-sass > node scripts/install.js Cached binary found at C:\Users\\AppData\Roaming\npm-cache\node-sass\4.5.3\win32-x64-46_binding.node > node-sass@4.5.3 postinstall C:\Users\\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\node-sass > node scripts/build.js Binary found at C:\Users\\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\node-sass\vendor\win32-x64-46\binding.node Testing binary Binary is fine npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "@angular/cli" npm ERR! node v4.5.0 npm ERR! npm v2.15.9 npm ERR! code ETARGET npm ERR! notarget No compatible version found: balanced-match@'>=1.0.0 <2.0.0' npm ERR! notarget Valid install targets: npm ERR! notarget ["0.0.0","0.0.1","0.1.0","0.2.0","0.2.1","0.3.0","0.4.0","0.4.1","0.4.2"] npm ERR! notarget npm ERR! notarget This is most likely not a problem with npm itself. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'brace-expansion' npm ERR! notarget npm ERR! Please include the following file with any support request: npm ERR!master\angular-src\npm-debug.log
Tuesday, 13 June 2017
Wednesday, 12 October 2016
Entity name must immediately follow the '&' in the entity reference
The entity name must immediately follow the '&' in the entity reference
Use this
&&
Saturday, 8 October 2016
Invalid model specified: Validation Result: warnings : [], errors : [Invalid model schema specified]
I am configuring model schema for aws api gateway.
Invalid model specified: Validation Result: warnings : [], errors : [Invalid model schema specified]
Invalid model specified: Validation Result: warnings : [], errors : [Invalid model schema specified]
planner returned error: unable to find index for $geoNear quer
planner returned error: unable to find index for $geoNear quer
Friday, 7 October 2016
geospacial - location nearby
{
"code" : {
"_bsontype" : "Int32",
"value" : 2
},
"errmsg" : "$geometry is required for geo near query",
"message" : "$geometry is required for geo near query",
"name" : "MongoError",
"ok" : {
"_bsontype" : "Double",
"value" : 0
},
"stack" : "MongoError: $geometry is required for geo near quer" +
"at Function.MongoError.create (C:\\Users\\Administrator\\AppData\\Local\\mongobooster\\app-3.0.5\\resources\\app.asar\\node_modules\\mongodb-core\\lib\\error.js:31:11" +
"at queryCallback (C:\\Users\\Administrator\\AppData\\Local\\mongobooster\\app-3.0.5\\resources\\app.asar\\node_modules\\mongodb-core\\lib\\cursor.js:213:36" +
"at C:\\Users\\Administrator\\AppData\\Local\\mongobooster\\app-3.0.5\\resources\\app.asar\\node_modules\\mongodb-core\\lib\\connection\\pool.js:436:1" +
"at _combinedTickCallback (internal/process/next_tick.js:67:7" +
"at process._tickCallback (internal/process/next_tick.js:98:9)",
"waitedMS" : {
"_bsontype" : "Long",
"high_" : 0,
"low_" : 0
}
}
"code" : {
"_bsontype" : "Int32",
"value" : 2
},
"errmsg" : "$geometry is required for geo near query",
"message" : "$geometry is required for geo near query",
"name" : "MongoError",
"ok" : {
"_bsontype" : "Double",
"value" : 0
},
"stack" : "MongoError: $geometry is required for geo near quer" +
"at Function.MongoError.create (C:\\Users\\Administrator\\AppData\\Local\\mongobooster\\app-3.0.5\\resources\\app.asar\\node_modules\\mongodb-core\\lib\\error.js:31:11" +
"at queryCallback (C:\\Users\\Administrator\\AppData\\Local\\mongobooster\\app-3.0.5\\resources\\app.asar\\node_modules\\mongodb-core\\lib\\cursor.js:213:36" +
"at C:\\Users\\Administrator\\AppData\\Local\\mongobooster\\app-3.0.5\\resources\\app.asar\\node_modules\\mongodb-core\\lib\\connection\\pool.js:436:1" +
"at _combinedTickCallback (internal/process/next_tick.js:67:7" +
"at process._tickCallback (internal/process/next_tick.js:98:9)",
"waitedMS" : {
"_bsontype" : "Long",
"high_" : 0,
"low_" : 0
}
}
Thursday, 6 October 2016
Git returns 407 from proxy after connect.
Git returns 407 from proxy after connect.
This is due to corporate proxy
git config --global http.proxy http://.....:8080
Then, you need to set ssl false
This is due to corporate proxy
git config --global http.proxy http://.....:8080
Then, you need to set ssl false
git config --global http.sslVerify false
Wednesday, 5 October 2016
Missing Authentication Token
{"message":"Missing Authentication Token"}
I am using api gateway for exposing my rest api.
I got this issue when i run through the swagger file.