Closed DrYSG closed 10 years ago
That did the trick. At least the result of the npm install of leaflet builds a leaflet-src.js file. Now, there are a lot of warnings and errors that look nasty, but the result looks ok.
G:\wwwroot\NodeToby\node_modules\leaflet>npm install
npm WARN `git config --get remote.origin.url` returned wrong result (git://github.com/pipobscure/fsevents)
npm ERR! fetch failed http://registry.npmjs.org/methods/-/methods-0.1.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz
npm ERR! fetch failed http://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm WARN `git config --get remote.origin.url` returned wrong result (git@github.com:pipobscure/fsevents)
npm ERR! fetch failed http://registry.npmjs.org/methods/-/methods-0.1.0.tgz
npm ERR! fetch failed http://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz
npm ERR! git clone git@github.com:pipobscure/fsevents Cloning into bare repository 'C:\Users\ysg4206\AppData\Roaming\npm-cache\_git-remotes\git-github
-com-pipobscure-fsevents-2ef85406'...
npm ERR! git clone git@github.com:pipobscure/fsevents ssh: connect to host github.com port 22: Bad file number
npm ERR! git clone git@github.com:pipobscure/fsevents fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:pipobscure/fsevents
npm ERR! git clone git@github.com:pipobscure/fsevents Please make sure you have the correct access rights
npm ERR! git clone git@github.com:pipobscure/fsevents and the repository exists.
npm WARN optional dep failed, continuing fsevents@pipobscure/fsevents#7dcdf9fa3f8956610fd6f69f72c67bace2de7138
-
> ws@0.4.32 install G:\wwwroot\NodeToby\node_modules\leaflet\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
|
G:\wwwroot\NodeToby\node_modules\leaflet\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws>node "C:\Program File
s\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\ysg4206\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.x64.user.props : error MSB4025: The project file could not be loaded. Root elemen
t is missing. [G:\wwwroot\NodeToby\node_modules\leaflet\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build
\bufferutil.vcxproj]
C:\Users\ysg4206\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.x64.user.props : error MSB4025: The project file could not be loaded. Root elemen
t is missing. [G:\wwwroot\NodeToby\node_modules\leaflet\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build
\validation.vcxproj]
> phantomjs@1.9.7-15 install G:\wwwroot\NodeToby\node_modules\leaflet\node_modules\karma-phantomjs-launcher\node_modules\phantomjs
> node install.js
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-windows.zip
Saving to C:\Users\ysg4206\AppData\Local\Temp\phantomjs\phantomjs-1.9.7-windows.zip
Using proxy http://CSDL-SERVICES%5Cysg4206:******@localhost:3128/
Receiving...
| [----------------------------------------] 1% 0.0s/
Received 6823K total.
Extracting zip contents
Copying extracted folder C:\Users\ysg4206\AppData\Local\Temp\phantomjs\phantomjs-1.9.7-windows.zip-extract-1408630142500\phantomjs-1.9.7-windows -> G:
\wwwroot\NodeToby\node_modules\leaflet\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\lib\phantom
Writing location.js file
Done. Phantomjs binary available at G:\wwwroot\NodeToby\node_modules\leaflet\node_modules\karma-phantomjs-launcher\node_modules\phantomjs\lib\phantom\
phantomjs.exe
-
> leaflet@0.7.0 prepublish G:\wwwroot\NodeToby\node_modules\leaflet
> jake build
Concatenating and compressing 71 files...
Uncompressed: 212.17 KB (new)
Saved to dist/leaflet-src.js
Compressed: 116.87 KB (new)
Saved to dist/leaflet.js
Gzipped: 31.70 KB
karma-chrome-launcher@0.1.4 node_modules\karma-chrome-launcher
karma-mocha@0.1.8 node_modules\karma-mocha
happen@0.1.3 node_modules\happen
tin@0.5.0 node_modules\tin
├── commander@2.0.0
├── string@1.6.1
└── semver@2.2.1
jake@0.7.20 node_modules\jake
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)
└── utilities@0.0.40
mocha@1.19.0 node_modules\mocha
├── diff@1.0.7
├── commander@2.0.0
├── growl@1.7.0
├── mkdirp@0.3.5
├── debug@1.0.4 (ms@0.6.2)
├── glob@3.2.3 (inherits@2.0.1, graceful-fs@2.0.3, minimatch@0.2.14)
└── jade@0.26.3 (commander@0.6.1, mkdirp@0.3.0)
uglify-js@2.4.15 node_modules\uglify-js
├── uglify-to-browserify@1.0.2
├── async@0.2.10
├── optimist@0.3.7 (wordwrap@0.0.2)
└── source-map@0.1.34 (amdefine@0.1.0)
copyfiles@0.1.0 node_modules\copyfiles
├── mkdirp@0.3.5
├── ltcdr@2.2.1
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
├── through2@0.4.2 (xtend@2.1.2, readable-stream@1.0.31)
└── stream-array@0.1.3 (fastqueue@0.1.0, readable-stream@1.1.13)
karma-coverage@0.2.6 node_modules\karma-coverage
├── dateformat@1.0.8-1.2.3
├── minimatch@0.3.0 (sigmund@1.0.0, lru-cache@2.5.0)
├── istanbul@0.3.0 (abbrev@1.0.5, which@1.0.5, once@1.3.0, wordwrap@0.0.2, async@0.9.0, nopt@3.0.1, mkdirp@0.5.0, resolve@0.7.4, fileset@0.1.5, esprim
a@1.2.2, escodegen@1.3.3, handlebars@1.3.0, js-yaml@3.1.0)
└── ibrik@1.1.1 (which@1.0.5, estraverse@1.5.1, mkdirp@0.3.5, optimist@0.6.1, lodash@2.4.1, escodegen@1.1.0, coffee-script-redux@2.0.0-beta8, istanbul
@0.2.16)
karma-phantomjs-launcher@0.1.4 node_modules\karma-phantomjs-launcher
└── phantomjs@1.9.7-15 (which@1.0.5, rimraf@2.2.8, progress@1.1.8, kew@0.1.7, ncp@0.4.2, mkdirp@0.3.5, adm-zip@0.2.1, request-progress@0.3.1, npmconf@
0.0.24, request@2.36.0)
jshint@2.5.4 node_modules\jshint
├── strip-json-comments@0.1.3
├── underscore@1.6.0
├── exit@0.1.2
├── shelljs@0.3.0
├── minimatch@0.4.0 (sigmund@1.0.0, lru-cache@2.5.0)
├── console-browserify@1.1.0 (date-now@0.1.4)
├── cli@0.6.3 (glob@3.2.11)
└── htmlparser2@3.7.3 (domelementtype@1.1.1, domutils@1.5.0, entities@1.0.0, domhandler@2.2.0, readable-stream@1.1.13)
karma@0.12.22 node_modules\karma
├── di@0.0.1
├── graceful-fs@2.0.3
├── colors@0.6.2
├── rimraf@2.2.8
├── mime@1.2.11
├── q@0.9.7
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)
├── source-map@0.1.38 (amdefine@0.1.0)
├── optimist@0.6.1 (minimist@0.0.10, wordwrap@0.0.2)
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
├── lodash@2.4.1
├── useragent@2.0.9 (lru-cache@2.2.4)
├── log4js@0.6.19 (semver@1.1.4, async@0.1.15, readable-stream@1.0.31)
├── http-proxy@0.10.4 (pkginfo@0.3.0, utile@0.2.1)
├── chokidar@0.8.4 (recursive-readdir@0.0.2)
├── socket.io@0.9.17 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.16)
└── connect@2.12.0 (uid2@0.0.3, methods@0.1.0, pause@0.0.1, qs@0.6.6, debug@0.8.1, fresh@0.2.0, bytes@0.2.1, cookie-signature@1.0.1, batch@0.5.0, buff
er-crc32@0.2.1, raw-body@1.1.2, cookie@0.1.0, negotiator@0.3.0, send@0.1.4, multiparty@2.2.0)
G:\wwwroot\NodeToby\node_modules\leaflet>npm install
> leaflet@0.7.0 prepublish G:\wwwroot\NodeToby\node_modules\leaflet
> jake build
Concatenating and compressing 71 files...
Uncompressed: 212.17 KB (unchanged)
Compressed: 116.87 KB (unchanged)
Gzipped: 31.70 KB
G:\wwwroot\NodeToby\node_modules\leaflet>
ok, glad it worked out! none of those errors are related to phantomjs i think.
Moved issue from: https://github.com/ariya/phantomjs/issues/12481#issuecomment-52817694
I do not know if it is relevant, but I am also on a windows7SP1 box behind a proxy firewall (which I tunnel with CNTLM). see: https://github.com/Medium/phantomjs/issues/210
I do have the full npm_debug.log at: https://drive.google.com/file/d/0B2Ay-nw1QSW2cnBwQUpqclg3X3c/edit?usp=sharing