我有一个Angular 4应用程序,它使用名为'ngular2-google-map-auto-complete'的程序包,https://github.com/rajan-g/angular2-google-place-autocomplete
它之前已经有效,但我在几个月之后就开始接受代码库了。
我的问题是,当我运行'npm install'时,我收到以下控制台错误...
angular2-google-map-auto-complete@2.0.7 postinstall C...\node_modules\angular2-google-map-a
uto-complete
$(npm bin)/typings install
'$' is not recognized as an internal or external command,
operable program or batch file.
我怀疑这与已安装的打字有关,但我不知道如何解决它。 有没有人有任何想法?
我的包文件看起来像这样......
{
"name": "tilecase",
"version": "1.0.0",
"description": "TileCase",
"scripts": {
"start": "webpack-dev-server --config config/webpack.dev.js --inline --progress --content-base src/",
"test": "karma start",
"build": "rimraf dist && webpack --config config/webpack.prod.js --progress --profile --bail"
},
"repository": {
"type": "git",
"url": "git://github.com/bencameron00/TileCase.V2.UI.git"
},
"license": "UNLICENSED",
"dependencies": {
"": "^4.3.6",
"": "^4.3.6",
"": "^4.3.6",
"": "^4.3.6",
"": "^4.3.6",
"": "^4.3.6",
"": "^4.3.6",
"": "^4.3.6",
"": "^3.26.1",
"": "^3.2.12",
"angular2-google-map-auto-complete": "^2.0.7",
"angular2-google-maps": "^0.15.0",
"angular2-infinite-scroll": "^0.2.9",
"angular2-jwt": "^0.1.28",
"angular2-moment": "^0.8.2",
"angulartics2": "^1.6.3",
"core-js": "^2.4.1",
"googlemaps": "^1.12.0",
"html-webpack-plugin": "^2.26.0",
"jquery": "^3.1.1",
"karma-webpack": "^1.8.1",
"ng2-bootstrap": "^1.2.6",
"ng2-facebook-sdk": "^1.2.0",
"ng2-file-upload": "^1.2.0",
"ng2-img-cropper": "^0.7.7",
"ng2-page-scroll": "^3.2.3",
"ng2-social-share": "^0.0.10",
"reflect-metadata": "^0.1.9",
"rxjs": "^5.0.3",
"signalr": "^2.2.1",
"zone.js": "^0.6.26"
},
"devDependencies": {
"": "^3.25.37",
"": "^3.2.12",
"angular2-jwt": "^0.1.24",
"css-loader": "^0.23.1",
"expose-loader": "^0.7.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.8.5",
"html-loader": "^0.4.3",
"html-webpack-plugin": "^2.15.0",
"jasmine-core": "^2.4.1",
"karma": "^0.13.22",
"karma-jasmine": "^0.3.8",
"karma-phantomjs-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.7.0",
"ng2-facebook-sdk": "^1.1.0",
"node-sass": "^3.8.0",
"null-loader": "^0.1.1",
"phantomjs-prebuilt": "^2.1.7",
"raw-loader": "^0.5.1",
"rimraf": "^2.5.2",
"sass-loader": "^3.2.1",
"style-loader": "^0.13.1",
"ts-loader": "^0.8.2",
"typescript": "^2.2 ",
"typings": "^2.1.1",
"webpack": "^1.13.0",
"webpack-dev-server": "^1.14.1",
"webpack-merge": "^0.14.0",
"webpack-svgstore-plugin": "^3.0.0"
}
}