安装角谷歌,地图问题 [英] Issues installing angular-google-maps

查看:143
本文介绍了安装角谷歌,地图问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当安装角谷歌 - 地图我的整个网站断裂和我从 HTTP错误://错误.angularjs.org / 1.2.23 / $喷油器/ NOMOD?P0 = ngTable

When installing angular-google-maps my whole site breaks and I get errors from http://errors.angularjs.org/1.2.23/$injector/nomod?p0=ngTable

2的主要误差说


  1. 无法读取未定义
  2. 的特性OverlayView的
  3. 模块ngTable不可....

  1. Cannot read property 'OverlayView' of undefined
  2. Module ngTable is not available ....

这当我安装框架没有发生别的我做什么,我运行命令

This happens as soon as I install the framework without me doing anything else, the command I run is

bower install angular-google-maps --save

这是我曾经用我自己的凉亭安装因此可能有一些我没有做的第一件事。

This is the first thing I've ever installed with bower on my own so there might be something I am not doing.

推荐答案

首先确保的凉亭需要节点,NPM和Git

记住,凉亭是命令行实用程序,如果你是这样的安装包,那么它将会在项目层面上同时安装该软件包。

Remember, bower is command line utility and if you are installing package like this then it is going to install that package at project level.

和其安装,您需要在命令行模式下得到的,的切换到项目的根文件夹的并在命令行提示符下键入以下命令:

And for its installation you need to get in the command line mode, switch to the project root folder and type the following command at the command line prompt:

                          bower install "Package-Name" 

在你的情况下,它会被安装鲍尔角谷歌,地图--save

In your case it will be bower install angular-google-maps --save

和而且它要在全球安装这个包,那么加上-g上面的命令鲍尔

And moreover it you want to install this package globally then add "-g" with above bower command.

有关更多信息,你可以参考以下链接:

For further info you can refer this link:

安装和删除亭子包

这篇关于安装角谷歌,地图问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆