我明白npm安装
将安装package.json.中定义的节点模块版本,我不明白为什么它试图安装较旧的版本4.9.1,而不是安装4.11.0或更高版本。正因为如此,我得到了下面的错误。有人能帮我解决这个问题吗?
无法下载“https://github.com/sass/node-sass/releases/download/v4.9.1/win32-ia32-67_绑定节点“:
找不到HTTP错误404
环境:节点版本:v11。0.0(32位)Visual Studio 2017
包裹json
{
"name": "mydotnetcoreapp",
"version": "1.0.0",
"description": "",
"main": "",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:watch": "ng build --watch --output-path=dist-dev",
"build:dev": "ng build --output-path=dist-dev",
"build:prod": "ng build --prod --output-path=dist-prod --output-hashing=none",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"author": "xxxx",
"license": "",
"dependencies": {
"@angular/animations": "^5.0.5",
"@angular/common": "^5.0.5",
"@angular/compiler": "^5.0.5",
"@angular/core": "^5.0.5",
"@angular/forms": "^5.0.5",
"@angular/http": "^5.0.5",
"@angular/platform-browser": "^5.0.5",
"@angular/platform-browser-dynamic": "^5.0.5",
"@angular/router": "^5.0.5",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.5",
"bootstrap": "^4.0.0-beta.2",
"classlist.js": "^1.1.20150312",
"core-js": "^2.5.1",
"font-awesome": "^4.7.0",
"highcharts": "^6.0.2",
"jquery": "^3.2.1",
"lodash-es": "^4.17.4",
"ng2-scroll-to-el": "^1.0.0",
"ngx-cookie-service": "^2.2.0",
"popper.js": "^1.12.9",
"rxjs": "^5.5.2",
"web-animations-js": "^2.3.1",
"zone.js": "^0.8.18"
},
"devDependencies": {
"@angular/cli": "1.5.5",
"@angular/compiler-cli": "^5.0.5",
"@angular/language-service": "^5.0.5",
"@types/highcharts": "^5.0.12",
"@types/jasmine": "^2.8.8",
"@types/jasminewd2": "~2.0.2",
"@types/lodash-es": "^4.17.0",
"@types/node": "^6.0.90",
"chrome": "^0.1.0",
"codelyzer": "^3.2.2",
"del": "^3.0.0",
"gulp": "^3.9.1",
"gulp-clean": "^0.3.2",
"gulp-concat": "^2.6.1",
"gulp-cssmin": "^0.2.0",
"gulp-htmlmin": "^4.0.0",
"gulp-sass": "^4.0.1",
"gulp-uglify": "^3.0.0",
"jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.3.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^2.0.2",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "^1.4.3",
"karma-jasmine": "^1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"launcher": "0.0.1",
"merge-stream": "^1.0.1",
"natives": "^1.1.6",
"node-sass": "^4.11.0",
"protractor": "~5.1.2",
"ts-node": "~3.3.0",
"tslint": "~5.8.0",
"typescript": "~2.4.2"
}
}
npm安装--保存-开发node-sass@4.5.3
问题内容: 我刚刚将软件包的新版本上传到PyPi(1.2.1.0-r4):我可以下载egg文件并使用easy_install进行安装,并且该版本可以正确检出。但是,当我尝试使用pip进行安装时,它将安装版本1.1.0.0。即使我明确指定要使用的版本,也会收到以下消息:,但我不明白为什么。 我仔细检查并确认1.2.1上的版本字符串大于1.1.0上的版本字符串,如下所示: 那么,为什么要选择安装1.1
我们有问题运行“NPM安装”在我们的项目。找不到某个文件: 对于我们来说,这个节点--陀螺似乎是一个永无止境的痛苦之源。一开始它抱怨它需要python,所以我们安装了它。然后它抱怨它需要我们安装的VCBuild,(使用.NET2.0SDK),现在我们出现了这个错误。这几乎就像是错误越来越模糊,感觉我们走上了一条错误的道路。 奇怪的是,我们团队中的其他人在运行NPM-Install时没有任何问题。
当我用Angular在我的项目上安装npm时。节点sass/node gyp安装失败,错误显示如下: $npm安装 节点-sass@4.10.0安装C:\Users\d\Documents\project\app\node\u modules\node sass node scripts/install.js 从https://github.com/sass/node-sass/releases/
问题内容: 他们在博客文章中宣布yarn(npm的替代客户端),他们说:“最简单的入门方法是运行”。但是,如果您转到其文档中的“ install yarn”页面 ,则“ npm install yarn”未在任何特定于平台的安装页面上列出,并且仅作为“ Alternatives”页面上三个选项中的第三个选项提供。 。此外,当您进行纱线编织时,它会显示弃用警告:“建议针对您的环境使用本地安装方法来安
我错过了什么?如何让npm真正尊重我的锁文件?
我是cypress的新手,我想知道vsI在谷歌上搜索了一下,但没有找到任何答案