marklogic-community / marklogic-samplestack

A sample implementation of the MarkLogic Reference Architecture
Apache License 2.0
82 stars 56 forks source link

windows: build misses bower_components #127

Closed laurelnaiad closed 10 years ago

laurelnaiad commented 10 years ago

Gaurav, will you please try my browserify branch to see if it gets you past the npm install issue?

cd <whereever>\marklogic-samplestack
rmdir browser
git remote add stu-salsbury https://github.com/stu-salsbury/marklogic-samplestack
git checkout stu-salsbury/browserify
cd browser
npm install

and let me know what happens?

gghai commented 10 years ago

Hi Stu , i removed the browser directory and when ran the below :

redacted a password

C:\Users\gghai\marklogic-samplestack>git checkout stu-salsbury/browserify error: pathspec 'stu-salsbury/browserify' did not match any file(s) known to git .

C:\Users\gghai\marklogic-samplestack>git checkout stu-salsbury/browserify error: pathspec 'stu-salsbury/browserify' did not match any file(s) known to git .

C:\Users\gghai\marklogic-samplestack>

gghai commented 10 years ago

I am getting error: pathspec 'stu-salsbury/browserify' did not match any file(s) known to git . We can connect up on this .

laurelnaiad commented 10 years ago

@gghai, since we got the git situation straightened out offline and you're having trouble with npm install -g (global package installs), I'm doing a little research to figure out how npm is currently expected to behave with respect to PATH variables to global packages in Windows.

It has changed over time, and probably has changed since I last used Windows for Node "stuff". I'm not sure whether the issue was your initial use of Cygwin or something else. I'm going to try it out on a clean Windows 7 VM, and I will let you know what I see.

laurelnaiad commented 10 years ago

@gghai on a clean windows install everything in the README "just works". Can you tell me what you get from these commands?

> where node
> where npm
gghai commented 10 years ago

Thanks Stu for trying on windows. I am seeing the below responses :

C:\Users\gghai\marklogic-samplestack\browser>where node C:\Program Files (x86)\nodejs\node.exe

C:\Users\gghai\marklogic-samplestack\browser>where npm C:\Program Files (x86)\nodejs\npm C:\Program Files (x86)\nodejs\npm.cmd

gghai commented 10 years ago

Running through the dos command as administer below are more more details of the presequities and logs w.r.t to command on my Windows machince :

C:\Users\gghai\marklogic-samplestack>node -v v0.10.28

C:\Users\gghai\marklogic-samplestack>npm -v 1.4.9

Command : npm install -g bower

npm http 304 https://registry.npmjs.org/uid-number npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/underscore.string npm http 304 https://registry.npmjs.org/underscore.string npm http 304 https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/event-emitter npm http GET https://registry.npmjs.org/proto-list npm http 304 https://registry.npmjs.org/event-emitter npm http 304 https://registry.npmjs.org/proto-list npm http GET https://registry.npmjs.org/source-map npm http 304 https://registry.npmjs.org/source-map npm http GET https://registry.npmjs.org/lru-queue npm http 304 https://registry.npmjs.org/lru-queue npm http GET https://registry.npmjs.org/amdefine npm http 304 https://registry.npmjs.org/amdefine npm http GET https://registry.npmjs.org/es6-symbol npm http GET https://registry.npmjs.org/es6-iterator npm http 304 https://registry.npmjs.org/es6-iterator npm http 304 https://registry.npmjs.org/es6-symbol C:\Users\gghai\AppData\Roaming\npm\bower -> C:\Users\gghai\AppData\Roaming\npm\n ode_modules\bower\bin\bower bower@1.3.8 C:\Users\gghai\AppData\Roaming\npm\node_modules\bower ├── is-root@0.1.0 ├── junk@0.3.0 ├── stringify-object@0.2.1 ├── abbrev@1.0.5 ├── chmodr@0.1.0 ├── which@1.0.5 ├── osenv@0.1.0 ├── opn@0.1.2 ├── archy@0.0.2 ├── lockfile@0.4.2 ├── graceful-fs@3.0.2 ├── rimraf@2.2.8 ├── bower-logger@0.2.2 ├── bower-endpoint-parser@0.2.2 ├── lru-cache@2.5.0 ├── nopt@3.0.1 ├── retry@0.6.1 ├── q@1.0.1 ├── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1) ├── tmp@0.0.23 ├── request-progress@0.3.1 (throttleit@0.0.2) ├── shell-quote@1.4.2 (array-filter@0.0.1, array-reduce@0.0.0, array-map@0.0.0, jsonify@0.0.0) ├── semver@2.3.2 ├── fstream@0.1.31 (inherits@2.0.1) ├── p-throttler@0.0.1 (q@0.9.7) ├── mkdirp@0.5.0 (minimist@0.0.8) ├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, graceful-fs@2.0.3) ├── fstream-ignore@0.0.10 (inherits@2.0.1, minimatch@0.3.0) ├── promptly@0.2.0 (read@1.0.5) ├── tar@0.1.20 (inherits@2.0.1, block-stream@0.0.7) ├── bower-config@0.5.2 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1) ├── glob@4.0.5 (once@1.3.0, inherits@2.0.1, minimatch@1.0.0) ├── decompress-zip@0.0.8 (mkpath@0.1.0, nopt@2.2.1, touch@0.0.2, readable-stream @1.1.13-1, binary@0.3.0) ├── request@2.36.0 (json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0. 5.2, qs@0.6.6, oauth-sign@0.3.0, tunnel-agent@0.4.0, mime@1.2.11, node-uuid@1.4. 1, tough-cookie@0.12.1, form-data@0.1.4, hawk@1.0.0, http-signature@0.10.0) ├── update-notifier@0.2.0 (semver-diff@0.1.0, string-length@0.1.2, chalk@0.5.1, latest-version@0.2.0, configstore@0.3.1) ├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4) ├── handlebars@1.3.0 (optimist@0.3.7, uglify-js@2.3.6) ├── bower-registry-client@0.2.1 (graceful-fs@2.0.3, request-replay@0.2.0, lru-ca che@2.3.1, async@0.2.10, mkdirp@0.3.5, request@2.27.0) ├── insight@0.3.1 (object-assign@0.1.2, async@0.2.10, lodash.debounce@2.4.1, req uest@2.27.0, configstore@0.2.3, inquirer@0.4.1) ├── mout@0.9.1 └── inquirer@0.5.1 (readline2@0.1.0, mute-stream@0.0.4, through@2.3.4, async@0.8 .0, lodash@2.4.1, cli-color@0.3.2)

Command : npm install -g gulp

C:\Users\gghai\marklogic-samplestack>npm install -g glup npm http GET https://registry.npmjs.org/glup npm http 404 https://registry.npmjs.org/glup npm ERR! 404 404 Not Found: glup npm ERR! 404 npm ERR! 404 'glup' is not in the npm registry. npm ERR! 404 You should bug the author to publish it npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program File s (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "glup" npm ERR! cwd C:\Users\gghai\marklogic-samplestack npm ERR! node -v v0.10.28 npm ERR! npm -v 1.4.9 npm ERR! code E404 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\gghai\marklogic-samplestack\npm-debug.log npm ERR! not ok code 0

laurelnaiad commented 10 years ago

You want to spell it gulp. My tests confirm you shouldn't need to be an admin to do this, btw.

gghai commented 10 years ago

My bad . When i npm install -g gulp

npm http 304 https://registry.npmjs.org/lodash._basecreatecallback npm http 304 https://registry.npmjs.org/lodash.property npm http GET https://registry.npmjs.org/lodash.isfunction npm http GET https://registry.npmjs.org/lodash.bind npm http GET https://registry.npmjs.org/lodash._getarray npm http GET https://registry.npmjs.org/lodash.forin npm http GET https://registry.npmjs.org/lodash.identity npm http GET https://registry.npmjs.org/lodash._releasearray npm http GET https://registry.npmjs.org/lodash.support npm http GET https://registry.npmjs.org/lodash._setbinddata npm http 304 https://registry.npmjs.org/lodash.isfunction npm http 304 https://registry.npmjs.org/lodash.identity npm http 304 https://registry.npmjs.org/lodash.bind npm http 304 https://registry.npmjs.org/lodash.forin npm http 304 https://registry.npmjs.org/lodash._getarray npm http 304 https://registry.npmjs.org/lodash.support npm http 304 https://registry.npmjs.org/lodash._setbinddata npm http 304 https://registry.npmjs.org/lodash._releasearray npm http GET https://registry.npmjs.org/lodash._createwrapper npm http GET https://registry.npmjs.org/lodash._slice npm http GET https://registry.npmjs.org/lodash.noop npm http GET https://registry.npmjs.org/lodash._maxpoolsize npm http GET https://registry.npmjs.org/lodash._arraypool npm http 304 https://registry.npmjs.org/lodash._createwrapper npm http 304 https://registry.npmjs.org/lodash._maxpoolsize npm http 304 https://registry.npmjs.org/lodash._arraypool npm http 304 https://registry.npmjs.org/lodash.noop npm http 304 https://registry.npmjs.org/lodash._slice npm http GET https://registry.npmjs.org/lodash._basecreatewrapper npm http GET https://registry.npmjs.org/lodash._basebind npm http 304 https://registry.npmjs.org/lodash._basebind npm http 304 https://registry.npmjs.org/lodash._basecreatewrapper npm http GET https://registry.npmjs.org/lodash._basecreate npm http 304 https://registry.npmjs.org/lodash._basecreate C:\Users\gghai\AppData\Roaming\npm\gulp -> C:\Users\gghai\AppData\Roaming\npm\no de_modules\gulp\bin\gulp.js gulp@3.8.7 C:\Users\gghai\AppData\Roaming\npm\node_modules\gulp ├── tildify@0.2.0 ├── interpret@0.3.5 ├── pretty-hrtime@0.2.1 ├── deprecated@0.0.1 ├── archy@0.0.2 ├── minimist@0.2.0 ├── semver@3.0.1 ├── chalk@0.5.1 (escape-string-regexp@1.0.1, ansi-styles@1.1.0, supports-color@0 .2.0, has-ansi@0.1.0, strip-ansi@0.3.0) ├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0. 1.5) ├── liftoff@0.12.0 (extend@1.2.1, minimist@0.1.0, resolve@0.7.4, findup-sync@0.1 .3) ├── gulp-util@3.0.0 (lodash._reinterpolate@2.4.1, dateformat@1.0.8-1.2.3, lodash @2.4.1, vinyl@0.2.3, multipipe@0.1.1, through2@0.5.1, lodash.template@2.4.1) └── vinyl-fs@0.3.6 (graceful-fs@3.0.2, mkdirp@0.5.0, vinyl@0.3.2, strip-bom@0.3. 1, lodash@2.4.1, through2@0.5.1, glob-watcher@0.0.6, glob-stream@3.1.14)

C:\Users\gghai\marklogic-samplestack\browser>gulp -v 'gulp' is not recognized as an internal or external command, operable program or batch file.

C:\Users\gghai\marklogic-samplestack\browser>bower -v 'bower' is not recognized as an internal or external command, operable program or batch file.

I am reinstalling the node.js on my windows and see if anything changes.

laurelnaiad commented 10 years ago

When you do, please run

> node -v
> npm -v

and report results

gghai commented 10 years ago

C:\Users\gghai>node -v v0.10.30

C:\Users\gghai>npm -v 1.4.21

laurelnaiad commented 10 years ago

and where gulp?

gghai commented 10 years ago

C:\Users\gghai>where gulp C:\Users\gghai\AppData\Roaming\npm\gulp C:\Users\gghai\AppData\Roaming\npm\gulp.cmd

laurelnaiad commented 10 years ago

npm ls -g?

gghai commented 10 years ago

C:\Users\gghai\AppData\Roaming\npm ├─┬ bower@1.3.8 │ ├── abbrev@1.0.5 │ ├── archy@0.0.2 │ ├─┬ bower-config@0.5.2 │ │ ├── graceful-fs@2.0.3 │ │ ├─┬ optimist@0.6.1 │ │ │ ├── minimist@0.0.10 │ │ │ └── wordwrap@0.0.2 │ │ └── osenv@0.0.3 │ ├── bower-endpoint-parser@0.2.2 │ ├─┬ bower-json@0.4.0 │ │ ├── deep-extend@0.2.11 │ │ ├── graceful-fs@2.0.3 │ │ └── intersect@0.0.3 │ ├── bower-logger@0.2.2 │ ├─┬ bower-registry-client@0.2.1 │ │ ├── async@0.2.10 │ │ ├── graceful-fs@2.0.3 │ │ ├── lru-cache@2.3.1 │ │ ├── mkdirp@0.3.5 │ │ ├─┬ request@2.27.0 │ │ │ ├── aws-sign@0.3.0 │ │ │ ├── cookie-jar@0.3.0 │ │ │ ├── forever-agent@0.5.2 │ │ │ ├─┬ form-data@0.1.4 │ │ │ │ ├── async@0.9.0 │ │ │ │ └─┬ combined-stream@0.0.5 │ │ │ │ └── delayed-stream@0.0.5 │ │ │ ├─┬ hawk@1.0.0 │ │ │ │ ├── boom@0.4.2 │ │ │ │ ├── cryptiles@0.2.2 │ │ │ │ ├── hoek@0.9.1 │ │ │ │ └── sntp@0.2.4 │ │ │ ├─┬ http-signature@0.10.0 │ │ │ │ ├── asn1@0.1.11 │ │ │ │ ├── assert-plus@0.1.2 │ │ │ │ └── ctype@0.5.2 │ │ │ ├── json-stringify-safe@5.0.0 │ │ │ ├── mime@1.2.11 │ │ │ ├── node-uuid@1.4.1 │ │ │ ├── oauth-sign@0.3.0 │ │ │ ├── qs@0.6.6 │ │ │ └── tunnel-agent@0.3.0 │ │ └── request-replay@0.2.0 │ ├─┬ cardinal@0.4.4 │ │ ├── ansicolors@0.2.1 │ │ └─┬ redeyed@0.4.4 │ │ └── esprima@1.0.4 │ ├─┬ chalk@0.4.0 │ │ ├── ansi-styles@1.0.0 │ │ ├── has-color@0.1.7 │ │ └── strip-ansi@0.1.1 │ ├── chmodr@0.1.0 │ ├─┬ decompress-zip@0.0.8 │ │ ├─┬ binary@0.3.0 │ │ │ ├── buffers@0.1.1 │ │ │ └─┬ chainsaw@0.1.0 │ │ │ └── traverse@0.3.9 │ │ ├── mkpath@0.1.0 │ │ ├── nopt@2.2.1 │ │ ├─┬ readable-stream@1.1.13-1 │ │ │ ├── core-util-is@1.0.1 │ │ │ ├── inherits@2.0.1 │ │ │ ├── isarray@0.0.1 │ │ │ └── string_decoder@0.10.25-1 │ │ └─┬ touch@0.0.2 │ │ └── nopt@1.0.10 │ ├─┬ fstream@0.1.31 │ │ └── inherits@2.0.1 │ ├─┬ fstream-ignore@0.0.10 │ │ ├── inherits@2.0.1 │ │ └─┬ minimatch@0.3.0 │ │ └── sigmund@1.0.0 │ ├─┬ glob@4.0.5 │ │ ├── inherits@2.0.1 │ │ ├─┬ minimatch@1.0.0 │ │ │ └── sigmund@1.0.0 │ │ └── once@1.3.0 │ ├── graceful-fs@3.0.2 │ ├─┬ handlebars@1.3.0 │ │ ├─┬ optimist@0.3.7 │ │ │ └── wordwrap@0.0.2 │ │ └─┬ uglify-js@2.3.6 │ │ ├── async@0.2.10 │ │ └─┬ source-map@0.1.38 │ │ └── amdefine@0.1.0 │ ├─┬ inquirer@0.5.1 │ │ ├── async@0.8.0 │ │ ├─┬ cli-color@0.3.2 │ │ │ ├── d@0.1.1 │ │ │ ├─┬ es5-ext@0.10.4 │ │ │ │ ├── es6-iterator@0.1.1 │ │ │ │ └── es6-symbol@0.1.0 │ │ │ ├─┬ memoizee@0.3.6 │ │ │ │ ├── event-emitter@0.3.1 │ │ │ │ ├── lru-queue@0.1.0 │ │ │ │ └── next-tick@0.2.2 │ │ │ └─┬ timers-ext@0.1.0 │ │ │ └── next-tick@0.2.2 │ │ ├── lodash@2.4.1 │ │ ├── mute-stream@0.0.4 │ │ ├── readline2@0.1.0 │ │ └── through@2.3.4 │ ├─┬ insight@0.3.1 │ │ ├── async@0.2.10 │ │ ├─┬ configstore@0.2.3 │ │ │ ├── graceful-fs@2.0.3 │ │ │ ├─┬ js-yaml@3.0.2 │ │ │ │ ├─┬ argparse@0.1.15 │ │ │ │ │ ├── underscore@1.4.4 │ │ │ │ │ └── underscore.string@2.3.3 │ │ │ │ └── esprima@1.0.4 │ │ │ ├── mkdirp@0.3.5 │ │ │ ├── osenv@0.0.3 │ │ │ └── uuid@1.4.1 │ │ ├─┬ inquirer@0.4.1 │ │ │ ├─┬ cli-color@0.2.3 │ │ │ │ ├── es5-ext@0.9.2 │ │ │ │ └─┬ memoizee@0.2.6 │ │ │ │ ├── event-emitter@0.2.2 │ │ │ │ └── next-tick@0.1.0 │ │ │ ├── lodash@2.4.1 │ │ │ ├── mute-stream@0.0.4 │ │ │ ├── readline2@0.1.0 │ │ │ └── through@2.3.4 │ │ ├─┬ lodash.debounce@2.4.1 │ │ │ ├── lodash.isfunction@2.4.1 │ │ │ ├─┬ lodash.isobject@2.4.1 │ │ │ │ └── lodash._objecttypes@2.4.1 │ │ │ └─┬ lodash.now@2.4.1 │ │ │ └── lodash._isnative@2.4.1 │ │ ├── object-assign@0.1.2 │ │ └─┬ request@2.27.0 │ │ ├── aws-sign@0.3.0 │ │ ├── cookie-jar@0.3.0 │ │ ├── forever-agent@0.5.2 │ │ ├─┬ form-data@0.1.4 │ │ │ ├── async@0.9.0 │ │ │ └─┬ combined-stream@0.0.5 │ │ │ └── delayed-stream@0.0.5 │ │ ├─┬ hawk@1.0.0 │ │ │ ├── boom@0.4.2 │ │ │ ├── cryptiles@0.2.2 │ │ │ ├── hoek@0.9.1 │ │ │ └── sntp@0.2.4 │ │ ├─┬ http-signature@0.10.0 │ │ │ ├── asn1@0.1.11 │ │ │ ├── assert-plus@0.1.2 │ │ │ └── ctype@0.5.2 │ │ ├── json-stringify-safe@5.0.0 │ │ ├── mime@1.2.11 │ │ ├── node-uuid@1.4.1 │ │ ├── oauth-sign@0.3.0 │ │ ├── qs@0.6.6 │ │ └── tunnel-agent@0.3.0 │ ├── is-root@0.1.0 │ ├── junk@0.3.0 │ ├── lockfile@0.4.2 │ ├── lru-cache@2.5.0 │ ├─┬ mkdirp@0.5.0 │ │ └── minimist@0.0.8 │ ├── mout@0.9.1 │ ├── nopt@3.0.1 │ ├── opn@0.1.2 │ ├── osenv@0.1.0 │ ├─┬ p-throttler@0.0.1 │ │ └── q@0.9.7 │ ├─┬ promptly@0.2.0 │ │ └─┬ read@1.0.5 │ │ └── mute-stream@0.0.4 │ ├── q@1.0.1 │ ├─┬ request@2.36.0 │ │ ├── aws-sign2@0.5.0 │ │ ├── forever-agent@0.5.2 │ │ ├─┬ form-data@0.1.4 │ │ │ ├── async@0.9.0 │ │ │ └─┬ combined-stream@0.0.5 │ │ │ └── delayed-stream@0.0.5 │ │ ├─┬ hawk@1.0.0 │ │ │ ├── boom@0.4.2 │ │ │ ├── cryptiles@0.2.2 │ │ │ ├── hoek@0.9.1 │ │ │ └── sntp@0.2.4 │ │ ├─┬ http-signature@0.10.0 │ │ │ ├── asn1@0.1.11 │ │ │ ├── assert-plus@0.1.2 │ │ │ └── ctype@0.5.2 │ │ ├── json-stringify-safe@5.0.0 │ │ ├── mime@1.2.11 │ │ ├── node-uuid@1.4.1 │ │ ├── oauth-sign@0.3.0 │ │ ├── qs@0.6.6 │ │ ├─┬ tough-cookie@0.12.1 │ │ │ └── punycode@1.3.0 │ │ └── tunnel-agent@0.4.0 │ ├─┬ request-progress@0.3.1 │ │ └── throttleit@0.0.2 │ ├── retry@0.6.1 │ ├── rimraf@2.2.8 │ ├── semver@2.3.2 │ ├─┬ shell-quote@1.4.2 │ │ ├── array-filter@0.0.1 │ │ ├── array-map@0.0.0 │ │ ├── array-reduce@0.0.0 │ │ └── jsonify@0.0.0 │ ├── stringify-object@0.2.1 │ ├─┬ tar@0.1.20 │ │ ├── block-stream@0.0.7 │ │ └── inherits@2.0.1 │ ├── tmp@0.0.23 │ ├─┬ update-notifier@0.2.0 │ │ ├─┬ chalk@0.5.1 │ │ │ ├── ansi-styles@1.1.0 │ │ │ ├── escape-string-regexp@1.0.1 │ │ │ ├─┬ has-ansi@0.1.0 │ │ │ │ └── ansi-regex@0.2.1 │ │ │ ├─┬ strip-ansi@0.3.0 │ │ │ │ └── ansi-regex@0.2.1 │ │ │ └── supports-color@0.2.0 │ │ ├─┬ configstore@0.3.1 │ │ │ ├─┬ js-yaml@3.0.2 │ │ │ │ ├─┬ argparse@0.1.15 │ │ │ │ │ ├── underscore@1.4.4 │ │ │ │ │ └── underscore.string@2.3.3 │ │ │ │ └── esprima@1.0.4 │ │ │ ├── object-assign@0.3.1 │ │ │ └── uuid@1.4.1 │ │ ├─┬ latest-version@0.2.0 │ │ │ └─┬ package-json@0.2.0 │ │ │ ├─┬ got@0.3.0 │ │ │ │ └── object-assign@0.3.1 │ │ │ └─┬ registry-url@0.1.1 │ │ │ └─┬ npmconf@2.0.5 │ │ │ ├─┬ config-chain@1.1.8 │ │ │ │ └── proto-list@1.2.3 │ │ │ ├── inherits@2.0.1 │ │ │ ├── ini@1.2.1 │ │ │ ├── once@1.3.0 │ │ │ └── uid-number@0.0.5 │ │ ├── semver-diff@0.1.0 │ │ └─┬ string-length@0.1.2 │ │ └─┬ strip-ansi@0.2.2 │ │ └── ansi-regex@0.1.0 │ └── which@1.0.5 ├─┬ gulp@3.8.7 │ ├── archy@0.0.2 │ ├─┬ chalk@0.5.1 │ │ ├── ansi-styles@1.1.0 │ │ ├── escape-string-regexp@1.0.1 │ │ ├─┬ has-ansi@0.1.0 │ │ │ └── ansi-regex@0.2.1 │ │ ├─┬ strip-ansi@0.3.0 │ │ │ └── ansi-regex@0.2.1 │ │ └── supports-color@0.2.0 │ ├── deprecated@0.0.1 │ ├─┬ gulp-util@3.0.0 │ │ ├── dateformat@1.0.8-1.2.3 │ │ ├── lodash@2.4.1 │ │ ├── lodash._reinterpolate@2.4.1 │ │ ├─┬ lodash.template@2.4.1 │ │ │ ├── lodash._escapestringchar@2.4.1 │ │ │ ├─┬ lodash.defaults@2.4.1 │ │ │ │ └── lodash._objecttypes@2.4.1 │ │ │ ├─┬ lodash.escape@2.4.1 │ │ │ │ ├─┬ lodash._escapehtmlchar@2.4.1 │ │ │ │ │ └── lodash._htmlescapes@2.4.1 │ │ │ │ └─┬ lodash._reunescapedhtml@2.4.1 │ │ │ │ └── lodash._htmlescapes@2.4.1 │ │ │ ├─┬ lodash.keys@2.4.1 │ │ │ │ ├── lodash._isnative@2.4.1 │ │ │ │ ├─┬ lodash._shimkeys@2.4.1 │ │ │ │ │ └── lodash._objecttypes@2.4.1 │ │ │ │ └─┬ lodash.isobject@2.4.1 │ │ │ │ └── lodash._objecttypes@2.4.1 │ │ │ ├── lodash.templatesettings@2.4.1 │ │ │ └── lodash.values@2.4.1 │ │ ├─┬ multipipe@0.1.1 │ │ │ └─┬ duplexer2@0.0.2 │ │ │ └─┬ readable-stream@1.1.13-1 │ │ │ ├── core-util-is@1.0.1 │ │ │ ├── inherits@2.0.1 │ │ │ ├── isarray@0.0.1 │ │ │ └── string_decoder@0.10.25-1 │ │ ├─┬ through2@0.5.1 │ │ │ ├─┬ readable-stream@1.0.27-1 │ │ │ │ ├── core-util-is@1.0.1 │ │ │ │ ├── inherits@2.0.1 │ │ │ │ ├── isarray@0.0.1 │ │ │ │ └── string_decoder@0.10.25-1 │ │ │ └── xtend@3.0.0 │ │ └─┬ vinyl@0.2.3 │ │ └── clone-stats@0.0.1 │ ├── interpret@0.3.5 │ ├─┬ liftoff@0.12.0 │ │ ├── extend@1.2.1 │ │ ├─┬ findup-sync@0.1.3 │ │ │ ├─┬ glob@3.2.11 │ │ │ │ ├── inherits@2.0.1 │ │ │ │ └─┬ minimatch@0.3.0 │ │ │ │ ├── lru-cache@2.5.0 │ │ │ │ └── sigmund@1.0.0 │ │ │ └── lodash@2.4.1 │ │ ├── minimist@0.1.0 │ │ └── resolve@0.7.4 │ ├── minimist@0.2.0 │ ├─┬ orchestrator@0.3.7 │ │ ├─┬ end-of-stream@0.1.5 │ │ │ └── once@1.3.0 │ │ ├── sequencify@0.0.7 │ │ └── stream-consume@0.1.0 │ ├── pretty-hrtime@0.2.1 │ ├── semver@3.0.1 │ ├── tildify@0.2.0 │ └─┬ vinyl-fs@0.3.6 │ ├─┬ glob-stream@3.1.14 │ │ ├─┬ glob@4.0.5 │ │ │ ├── inherits@2.0.1 │ │ │ ├─┬ minimatch@1.0.0 │ │ │ │ ├── lru-cache@2.5.0 │ │ │ │ └── sigmund@1.0.0 │ │ │ └── once@1.3.0 │ │ ├─┬ glob2base@0.0.9 │ │ │ └─┬ lodash.findindex@2.4.1 │ │ │ └─┬ lodash.createcallback@2.4.1 │ │ │ ├─┬ lodash._basecreatecallback@2.4.1 │ │ │ │ ├─┬ lodash._setbinddata@2.4.1 │ │ │ │ │ ├── lodash._isnative@2.4.1 │ │ │ │ │ └── lodash.noop@2.4.1 │ │ │ │ ├─┬ lodash.bind@2.4.1 │ │ │ │ │ ├─┬ lodash._createwrapper@2.4.1 │ │ │ │ │ │ ├─┬ lodash._basebind@2.4.1 │ │ │ │ │ │ │ └─┬ lodash._basecreate@2.4.1 │ │ │ │ │ │ │ ├── lodash._isnative@2.4.1 │ │ │ │ │ │ │ └── lodash.noop@2.4.1 │ │ │ │ │ │ ├─┬ lodash._basecreatewrapper@2.4.1 │ │ │ │ │ │ │ └─┬ lodash._basecreate@2.4.1 │ │ │ │ │ │ │ ├── lodash._isnative@2.4.1 │ │ │ │ │ │ │ └── lodash.noop@2.4.1 │ │ │ │ │ │ └── lodash.isfunction@2.4.1 │ │ │ │ │ └── lodash._slice@2.4.1 │ │ │ │ ├── lodash.identity@2.4.1 │ │ │ │ └─┬ lodash.support@2.4.1 │ │ │ │ └── lodash._isnative@2.4.1 │ │ │ ├─┬ lodash._baseisequal@2.4.1 │ │ │ │ ├─┬ lodash._getarray@2.4.1 │ │ │ │ │ └── lodash._arraypool@2.4.1 │ │ │ │ ├── lodash._objecttypes@2.4.1 │ │ │ │ ├─┬ lodash._releasearray@2.4.1 │ │ │ │ │ ├── lodash._arraypool@2.4.1 │ │ │ │ │ └── lodash._maxpoolsize@2.4.1 │ │ │ │ ├── lodash.forin@2.4.1 │ │ │ │ └── lodash.isfunction@2.4.1 │ │ │ ├─┬ lodash.isobject@2.4.1 │ │ │ │ └── lodash._objecttypes@2.4.1 │ │ │ ├─┬ lodash.keys@2.4.1 │ │ │ │ ├── lodash._isnative@2.4.1 │ │ │ │ └─┬ lodash._shimkeys@2.4.1 │ │ │ │ └── lodash._objecttypes@2.4.1 │ │ │ └── lodash.property@2.4.1 │ │ ├─┬ minimatch@0.3.0 │ │ │ ├── lru-cache@2.5.0 │ │ │ └── sigmund@1.0.0 │ │ ├── ordered-read-streams@0.0.8 │ │ └── unique-stream@1.0.0 │ ├─┬ glob-watcher@0.0.6 │ │ └─┬ gaze@0.5.1 │ │ └─┬ globule@0.1.0 │ │ ├─┬ glob@3.1.21 │ │ │ ├── graceful-fs@1.2.3 │ │ │ └── inherits@1.0.0 │ │ ├── lodash@1.0.1 │ │ └─┬ minimatch@0.2.14 │ │ ├── lru-cache@2.5.0 │ │ └── sigmund@1.0.0 │ ├── graceful-fs@3.0.2 │ ├── lodash@2.4.1 │ ├─┬ mkdirp@0.5.0 │ │ └── minimist@0.0.8 │ ├─┬ strip-bom@0.3.1 │ │ ├── first-chunk-stream@0.1.0 │ │ └── is-utf8@0.2.0 │ ├─┬ through2@0.5.1 │ │ ├─┬ readable-stream@1.0.27-1 │ │ │ ├── core-util-is@1.0.1 │ │ │ ├── inherits@2.0.1 │ │ │ ├── isarray@0.0.1 │ │ │ └── string_decoder@0.10.25-1 │ │ └── xtend@3.0.0 │ └─┬ vinyl@0.3.2 │ └── clone-stats@0.0.1 ├─┬ node-inspector@0.7.3 │ ├── async@0.4.1 │ ├── debug@0.8.1 │ ├─┬ express@3.5.3 │ │ ├── buffer-crc32@0.2.1 │ │ ├─┬ commander@1.3.2 │ │ │ └── keypress@0.1.0 │ │ ├─┬ connect@2.14.5 │ │ │ ├── basic-auth-connect@1.0.0 │ │ │ ├── bytes@0.3.0 │ │ │ ├─┬ compression@1.0.0 │ │ │ │ ├── bytes@0.2.1 │ │ │ │ ├── compressible@1.0.0 │ │ │ │ └── negotiator@0.3.0 │ │ │ ├── connect-timeout@1.0.0 │ │ │ ├─┬ cookie-parser@1.0.1 │ │ │ │ └── cookie@0.1.0 │ │ │ ├─┬ csurf@1.1.0 │ │ │ │ ├── scmp@0.0.3 │ │ │ │ └── uid2@0.0.3 │ │ │ ├── errorhandler@1.0.0 │ │ │ ├─┬ express-session@1.0.2 │ │ │ │ ├── cookie@0.1.0 │ │ │ │ ├── debug@0.7.4 │ │ │ │ ├── uid2@0.0.3 │ │ │ │ └── utils-merge@1.0.0 │ │ │ ├── method-override@1.0.0 │ │ │ ├─┬ morgan@1.0.0 │ │ │ │ └── bytes@0.2.1 │ │ │ ├─┬ multiparty@2.2.0 │ │ │ │ ├─┬ readable-stream@1.1.13-1 │ │ │ │ │ ├── core-util-is@1.0.1 │ │ │ │ │ ├── inherits@2.0.1 │ │ │ │ │ ├── isarray@0.0.1 │ │ │ │ │ └── string_decoder@0.10.25-1 │ │ │ │ └── stream-counter@0.2.0 │ │ │ ├── pause@0.0.1 │ │ │ ├── qs@0.6.6 │ │ │ ├── raw-body@1.1.4 │ │ │ ├── response-time@1.0.0 │ │ │ ├─┬ serve-index@1.0.1 │ │ │ │ ├── batch@0.5.0 │ │ │ │ └── negotiator@0.4.2 │ │ │ ├─┬ serve-static@1.1.0 │ │ │ │ └── parseurl@1.0.1 │ │ │ ├── setimmediate@1.0.1 │ │ │ ├── static-favicon@1.0.2 │ │ │ └── vhost@1.0.0 │ │ ├── cookie@0.1.2 │ │ ├── cookie-signature@1.0.3 │ │ ├── fresh@0.2.2 │ │ ├── merge-descriptors@0.0.2 │ │ ├── methods@0.1.0 │ │ ├── mkdirp@0.4.0 │ │ ├── range-parser@1.0.0 │ │ └─┬ send@0.3.0 │ │ ├── debug@0.8.0 │ │ └── mime@1.2.11 │ ├─┬ glob@3.2.9 │ │ ├── inherits@2.0.1 │ │ └─┬ minimatch@0.2.14 │ │ ├── lru-cache@2.5.0 │ │ └── sigmund@1.0.0 │ ├── opener@1.3.0 │ ├─┬ rc@0.3.5 │ │ ├── deep-extend@0.2.8 │ │ ├── ini@1.1.0 │ │ └── minimist@0.0.10 │ ├─┬ strong-data-uri@0.1.1 │ │ └── truncate@1.0.2 │ ├── which@1.0.5 │ ├─┬ ws@0.4.31 │ │ ├── commander@0.6.1 │ │ ├── nan@0.3.2 │ │ ├── options@0.0.5 │ │ └── tinycolor@0.0.1 │ └─┬ yargs@1.1.3 │ └── minimist@0.0.10 └─┬ protractor@0.22.0 ├── adm-zip@0.4.4 ├─┬ glob@3.2.9 │ ├── inherits@2.0.1 │ └─┬ minimatch@0.2.14 │ ├── lru-cache@2.5.0 │ └── sigmund@1.0.0 ├── lodash@2.4.1 ├── minijasminenode@0.4.0 ├─┬ optimist@0.6.1 │ ├── minimist@0.0.10 │ └── wordwrap@0.0.2 ├── q@1.0.0 ├── saucelabs@0.1.1 └── selenium-webdriver@2.41.0

laurelnaiad commented 10 years ago

How about

path
gghai commented 10 years ago

Path returns :

C:\Users\gghai\marklogic-samplestack\browser>path PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32 \WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-St atic;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluet ooth Software\syswow64;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShare d\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Fi les (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCo re\;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Users\gghai\gradle-1.11\bin;C:\User s\gghai\SVN_HOME\HEAD\qa\lib\webdrivers;C:\Users\gghai\maven\bin;C:\Program File s (x86)\Git\cmd;C:\Program Files\nodejs\;C:\Windows\system32;C:\Windows;C:\Windo ws\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x 86)\Java\jre7\bin;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C: \Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth So ftware\syswow64;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\P rogram Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x8 6)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\ Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\ Program Files\Java\jdk1.7.0_45\bin;C:\Users\gghai\gradle-1.11\bin;C:\Users\gghai \SVN_HOME\HEAD\qa\lib\webdrivers;C:\Users\gghai\maven\bin;C:\Program Files (x86) \nodejs\;C:\Users\gghai\AppData\Roaming\npm

Above issues were not seen after doing a re-install of node.js . Below are the details of the older version vs where i am currently moved to .

node -v v0.10.28 -> v0.10.30

npm -v 1.4.9 - > 1.4.21

laurelnaiad commented 10 years ago

Ok so now how does this work?

marklogic-samplestack/browser> npm install
marklogic-samplestack/browser> bower install
marklogic-samplestack/browser> gulp watch
laurelnaiad commented 10 years ago

I am still worried about your path b/c you have C:\Program Files\nodejs\ in the middle of it and then later C:\Program Files (x86)\nodejs\. I think the former is a holdover from installing node from cygwin. Is the above path output from after you reinstalled node?

gghai commented 10 years ago

Result for above 3 commands

C:\Users\gghai\marklogic-samplestack\browser>npm install npm WARN package.json marklogic-samplestack-angular@0.0.1 No README data npm WARN optional dep failed, continuing fsevents@0.2.0 dgeni@0.3.0 node_modules\dgeni ├── di@0.0.1 ├── rimraf@2.2.8 ├── q@0.9.7 ├── dependency-graph@0.1.0 (underscore@1.4.4) └── optimist@0.6.1 (wordwrap@0.0.2, minimist@0.0.10)

dgeni-packages@0.9.6 node_modules\dgeni-packages ├── graceful-fs@2.0.3 ├── marked@0.2.10 ├── catharsis@0.7.1 ├── esprima@1.2.2 ├── change-case@2.1.1 (path-case@0.1.0, lower-case@0.0.1, is-lower-case@0.0.1, t itle-case@0.1.0, snake-case@0.1.1, camel-case@0.1.0, param-case@0.1.0, pascal-ca se@0.1.1, constant-case@0.1.0, upper-case@0.0.1, sentence-case@0.1.2, dot-case@0 .1.0, upper-case-first@0.0.1, swap-case@0.0.1, is-upper-case@0.0.1) ├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0) ├── nunjucks@1.0.5 (chokidar@0.8.2, optimist@0.6.1) └── q-io@1.10.9 (mimeparse@0.1.4, mime@1.2.11, url2@0.0.0, q@0.9.7, qs@0.1.0, co llections@0.2.2)

C:\Users\gghai\marklogic-samplestack\browser>bower install bower ENOENT No bower.json present

C:\Users\gghai\marklogic-samplestack\browser>gulp watch [13:28:13] No gulpfile found

gghai commented 10 years ago

My latest node.js is installed at C:\Program Files\nodejs ( one that did today) . Are you suggesting I should delete C:\Program Files (x86)\nodejs .

gghai commented 10 years ago

Okie with latest sample_stack project from git .

When i am running "gulp watch" I am seeing the below error on windows :

C:\Users\gghai\SVN_HOME\marklogic-samplestack\browser>gulp watch [16:56:58] Warning: gulp version mismatch: [16:56:58] Global gulp is 3.8.7 [16:56:58] Local gulp is 3.8.6 [16:57:01] Using gulpfile ~\SVN_HOME\marklogic-samplestack\browser\gulpfile.js [16:57:01] Starting 'clean'... [16:57:05] Finished 'clean' after 3.82 s [16:57:05] Starting 'bower-files'... [16:57:05] 'bower-files' errored after 3.03 ms [16:57:05] Error: Bower components directory does not exist at bower_components at module.exports (C:\Users\gghai\SVN_HOME\marklogic-samplestack\browser\nod e_modules\main-bower-files\lib\index.js:45:15) at bowerBuildStream (C:\Users\gghai\SVN_HOME\marklogic-samplestack\browser\d ev-tasks\tasks.js:150:19) at Gulp.tasks.bower-files.func (C:\Users\gghai\SVN_HOME\marklogic-samplestac k\browser\dev-tasks\tasks.js:177:19) at module.exports (C:\Users\gghai\SVN_HOME\marklogic-samplestack\browser\nod e_modules\gulp\node_modules\orchestrator\lib\runTask.js:34:7) at Gulp.Orchestrator._runTask (C:\Users\gghai\SVN_HOME\marklogic-samplestack \browser\node_modules\gulp\node_modules\orchestrator\index.js:273:3) at Gulp.Orchestrator._runStep (C:\Users\gghai\SVN_HOME\marklogic-samplestack \browser\node_modules\gulp\node_modules\orchestrator\index.js:214:10) at C:\Users\gghai\SVN_HOME\marklogic-samplestack\browser\node_modules\gulp\n ode_modules\orchestrator\index.js:279:18 at finish (C:\Users\gghai\SVN_HOME\marklogic-samplestack\browser\node_module s\gulp\node_modules\orchestrator\lib\runTask.js:21:8) at cb (C:\Users\gghai\SVN_HOME\marklogic-samplestack\browser\node_modules\gu lp\node_modules\orchestrator\lib\runTask.js:29:3) at each (C:\Users\gghai\SVN_HOME\marklogic-samplestack\browser\node_modules\ del\node_modules\each-async\each-async.js:44:11)

Thoughts ?

laurelnaiad commented 10 years ago

I can't reproduce this on my Win7 VM.

@gghai will you please post the output from the following?

git rev-parse HEAD
gghai commented 10 years ago

gghai@HP8460-1613A /cygdrive/c/Users/gghai/SVN_HOME/marklogic-samplestack $ git rev-parse HEAD 6394c2b50b13760d9b3c49be5dd9784cfe8b50ae

gghai commented 10 years ago

With the latest copy of the samplestack from git . On Windows : date 08/07

C:\marklogic-samplestack\browser>git rev-parse HEAD 7e26fa256187791ba68054f662afdff9364483a0

Running "npm install" gives me a below error

C:\marklogic-samplestack\browser>npm install \

phantomjs@1.9.7-14 install C:\marklogic-samplestack\browser\node_modules\phant omjs node install.js

Download already available at C:\Users\gghai\AppData\Local\Temp\phantomjs\phanto mjs-1.9.7-windows.zip Extracting zip contents Copying extracted folder C:\Users\gghai\AppData\Local\Temp\phantomjs\phantomjs-1 .9.7-windows.zip-extract-1407435428047\phantomjs-1.9.7-windows -> C:\marklogic-s amplestack\browser\node_modules\phantomjs\lib\phantom Writing location.js file Done. Phantomjs binary available at C:\marklogic-samplestack\browser\node_module s\phantomjs\lib\phantom\phantomjs.exe npm ERR! Error: ENOENT, lstat 'C:\marklogic-samplestack\browser\node_modules\gul p-jscs\node_modules\jscs\node_modules\xmlbuilder\node_modules\lodash.assign\node _modules\lodash._basecreatecallback\LICENSE.txt' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\node_modul es\jscs\node_modules\xmlbuilder\node_modules\lodash.assign\nodemodules\lodash. basecreatecallback\LICENSE.txt npm ERR! fstream_path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\no de_modules\jscs\node_modules\xmlbuilder\node_modules\lodash.assign\node_modules\ lodash._basecreatecallback\LICENSE.txt npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm ERR! Error: ENOENT, lstat 'C:\marklogic-samplestack\browser\node_modules\gul p-jscs\node_modules\jscs\node_modules\xmlbuilder\node_modules\lodash.assign\node _modules\lodash.keys\node_modules\lodash._shimkeys\README.md' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\node_modul es\jscs\node_modules\xmlbuilder\node_modules\lodash.assign\node_modules\lodash.k eys\node_modules\lodash._shimkeys\README.md npm ERR! fstream_path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\no de_modules\jscs\node_modules\xmlbuilder\node_modules\lodash.assign\node_modules\ lodash.keys\node_modules\lodash._shimkeys\README.md npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm ERR! Error: ENOENT, lstat 'C:\marklogic-samplestack\browser\node_modules\gul p-jscs\node_modules\jscs\node_modules\xmlbuilder\node_modules\lodash.isobject\no de_modules\lodash._objecttypes\README.md' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\node_modul es\jscs\node_modules\xmlbuilder\node_modules\lodash.isobject\node_modules\lodash ._objecttypes\README.md npm ERR! fstream_path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\no de_modules\jscs\node_modules\xmlbuilder\node_modules\lodash.isobject\node_module s\lodash._objecttypes\README.md npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm ERR! Error: ENOENT, lstat 'C:\marklogic-samplestack\browser\node_modules\gul p-jscs\node_modules\jscs\node_modules\xmlbuilder\node_modules\lodash.isempty\nod e_modules\lodash.forown\index.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\node_modul es\jscs\node_modules\xmlbuilder\node_modules\lodash.isempty\node_modules\lodash. forown\index.js npm ERR! fstream_path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\no de_modules\jscs\node_modules\xmlbuilder\node_modules\lodash.isempty\node_modules \lodash.forown\index.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm ERR! Error: ENOENT, lstat 'C:\marklogic-samplestack\browser\node_modules\gul p-jscs\node_modules\jscs\node_modules\glob\node_modules\minimatch\minimatch.js' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\node_modul es\jscs\node_modules\glob\node_modules\minimatch\minimatch.js npm ERR! fstream_path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\no de_modules\jscs\node_modules\glob\node_modules\minimatch\minimatch.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm ERR! Error: ENOENT, lstat 'C:\marklogic-samplestack\browser\node_modules\gul p-jscs\node_modules\jscs\node_modules\glob\node_modules\graceful-fs\polyfills.js ' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\node_modul es\jscs\node_modules\glob\node_modules\graceful-fs\polyfills.js npm ERR! fstream_path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\no de_modules\jscs\node_modules\glob\node_modules\graceful-fs\polyfills.js npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm ERR! Error: ENOENT, lstat 'C:\marklogic-samplestack\browser\node_modules\gul p-jscs\node_modules\jscs\node_modules\minimatch\node_modules\lru-cache\LICENSE' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\node_modul es\jscs\node_modules\minimatch\node_modules\lru-cache\LICENSE npm ERR! fstream_path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\no de_modules\jscs\node_modules\minimatch\node_modules\lru-cache\LICENSE npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm ERR! Error: ENOENT, lstat 'C:\marklogic-samplestack\browser\node_modules\gul p-jscs\node_modules\jscs\node_modules\vow-fs\node_modules\glob\node_modules\mini match\LICENSE' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\node_modul es\jscs\node_modules\vow-fs\node_modules\glob\node_modules\minimatch\LICENSE npm ERR! fstream_path C:\marklogic-samplestack\browser\node_modules\gulp-jscs\no de_modules\jscs\node_modules\vow-fs\node_modules\glob\node_modules\minimatch\LIC ENSE npm ERR! fstream_type File npm ERR! fstream_class FileWriter npm ERR! code ENOENT npm ERR! errno 34 npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fst ream\lib\writer.js:284:26 npm ERR! fstream_stack Object.oncomplete (evalmachine.:107:15) npm ERR! Error: EPERM, open 'C:\Users\gghai\AppData\Roaming\npm-cache\e5e81d0b-o dash-isnative-2-4-1-package-tgz.lock' npm ERR! { [Error: EPERM, open 'C:\Users\gghai\AppData\Roaming\npm-cache\e5e81d 0b-odash-isnative-2-4-1-package-tgz.lock'] npm ERR! errno: 50, npm ERR! code: 'EPERM', npm ERR! path: 'C:\Users\gghai\AppData\Roaming\npm-cache\e5e81d0b-odash- isnative-2-4-1-package-tgz.lock' } npm ERR! npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! cwd C:\marklogic-samplestack\browser npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! path C:\Users\gghai\AppData\Roaming\npm-cache\e5e81d0b-odash-isnative-2 -4-1-package-tgz.lock npm ERR! code EPERM npm ERR! errno 50 npm ERR! stack Error: EPERM, open 'C:\Users\gghai\AppData\Roaming\npm-cache\e5e8

1d0b-odash-isnative-2-4-1-package-tgz.lock'

node-sass@0.9.3 install C:\marklogic-samplestack\browser\node_modules\gulp-sas s\node_modules\node-sass node build.js

win32-x64-v8-3.14 exists; testing

........................

24 passing (60ms)

Binary is fine; exiting npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\marklogic-samplestack\browser\npm-debug.log npm ERR! not ok code 0

laurelnaiad commented 10 years ago

@gghai please try this:

marklogic-samplestack/browser> npm install -g rimraf
marklogic-samplestack/browser> rimraf node_modules
marklogic-samplestack/browser> rimraf bower_components
marklogic-samplestack/browser> npm install
marklogic-samplestack/browser> bower install
laurelnaiad commented 10 years ago

P.S. This is still outstanding:

I am still worried about your path b/c you have C:\Program Files\nodejs\ in the middle of it and then later C:\Program Files (x86)\nodejs. I think the former is a holdover from installing node from cygwin. Is the above path output from after you reinstalled node?

Please remove C:\Program Files (x86)\nodejs\ from (the middle of) your path. LMK if you don't know how to do that before you try anything with npm. Tx!

gghai commented 10 years ago

Path gives :

C:\marklogic-samplestack\browser>path PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32 \WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-St atic;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluet ooth Software\syswow64;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShare d\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Fi les (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCo re\;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Users\gghai\gradle-1.11\bin;C:\User s\gghai\SVN_HOME\HEAD\qa\lib\webdrivers;C:\Users\gghai\maven\bin;C:\Program File s (x86)\Git\cmd;C:\Program Files\nodejs\;C:\Windows\system32;C:\Windows;C:\Windo ws\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x 86)\Java\jre7\bin;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C: \Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth So ftware\syswow64;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\P rogram Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x8 6)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\ Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\ Program Files\Java\jdk1.7.0_45\bin;C:\Users\gghai\gradle-1.11\bin;C:\Users\gghai \SVN_HOME\HEAD\qa\lib\webdrivers;C:\Users\gghai\maven\bin;C:\Program Files\nodej s\;C:\Users\gghai\AppData\Roaming\npm

Looks good ?

gghai commented 10 years ago

Gone past through those error . Now i am at gulp watch throwing :

C:\marklogic-samplestack\browser>gulp watch [12:41:01] Warning: gulp version mismatch: [12:41:01] Global gulp is 3.8.7 [12:41:01] Local gulp is 3.8.6

module.js:340 throw err; ^ Error: Cannot find module 'vinyl-fs' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (C:\marklogic-samplestack\browser\node_modules\gulp\in dex.js:7:11) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)

gghai commented 10 years ago

I am at C:\marklogic-samplestack\browser>git rev-parse HEAD 7e26fa256187791ba68054f662afdff9364483a0

laurelnaiad commented 10 years ago
marklogic-samplestack/browser> rimraf node_modules
marklogic-samplestack/browser> npm install
marklogic-samplestack/browser> gulp watch
gghai commented 10 years ago

Tried with the latest sample-stack this morning . Able to deploy it on windows successfully. Marking this as ship. Refer to the images attached in bug track for more details. Thanks Stu for getting through this .

jmakeig commented 10 years ago

FYI, you can attach images here too.

gghai commented 10 years ago

Here you go . Thanks Justin

3000 3004 coverage

laurelnaiad commented 10 years ago

For those not aware, that second image is a coverage report, not the unit tests themselves. All tests pass and we have overall coverage above 90% for all four measures. The same coverage standard may or may not hold up when we merge the explore feature (search, filter, browse), but the tests should continue to pass...

laurelnaiad commented 10 years ago

Thanks for all of your patience with node, Gaurav. You got a bum deal with the version of npm that Fedora 18 has in its yum repository, and in Windows that Cygwin/NPM combo is a killer. :) :+1: