Używam narzędzi Visual Studio 2013 Node.js dla Visual Studio.Jak mogę zaktualizować moduł npm kątomierza w pliku node.js?
Chciałbym zaktualizować kątomierz do tego:
https://www.npmjs.org/package/protractor
Pod KMP w Visual Studio widzę to pokazuje Mam moduł [email protected] Kiedy prawym przyciskiem myszy na to i wybierz
update npm module
To idzie do
https://registry.npmjs.org/protractor
kiedy wchodzę, że w moim URL to widać na pierwszej linii 1.0.0-rc2
jak najnowszej wersji:
https://registry.npmjs.org/protractor
{"_id":"protractor","_rev":"103-dc957e08fce862ad70c481b4a2327ee6",
"name":"protractor","description":"Webdriver E2E test wrapper for Angular.",
"dist-tags":{"latest":"1.0.0-rc2"},
"versions":{"0.1.0":{"name":"protractor",
"description":"End to End test helpers for Angular.",
"homepage":"https://github.com/juliemr/protractor","keywords":
W oknie wyjściowym pokazuje aktualizację:
====Executing command 'npm update protractor --save'====
npm http GET https://registry.npmjs.org/protractor
npm http 304 https://registry.npmjs.org/protractor
npm http GET https://registry.npmjs.org/selenium-webdriver
npm http GET https://registry.npmjs.org/jasminewd
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/saucelabs
npm http GET https://registry.npmjs.org/adm-zip
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/source-map-support
npm http 304 https://registry.npmjs.org/selenium-webdriver
npm http 304 https://registry.npmjs.org/jasminewd
npm http 304 https://registry.npmjs.org/saucelabs
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/adm-zip
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/source-map-support
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/amdefine
[email protected] node_modules\protractor
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected]
====npm command completed with exit code 0====
Chciałbym wiedzieć, że jeśli pierwsza linia pokazuje 1.0.0-rc2
jako najnowszą wersję, dlaczego nadal wyświetla kątomierz 0.24.2 jako ten, który został pobrany po aktualizacji?
Czy próbowałeś aktualizacji bez użycia Visual Studio? – Trindaz