Tuesday, 13 June 2017

npm install angular-cli -g issue

> 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                                                                                                                                                                                                                                 

Wednesday, 12 October 2016

Saturday, 8 October 2016

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
    }
}

Thursday, 6 October 2016

Wednesday, 5 October 2016