如何通过npm安装角度版本1.1.5

时间:2021-04-26 07:27:30

I've tried:

npm install angular@1.1.5

But it give me an error:

但它给了我一个错误:

npm ERR! Error: version not found: 1.1.5 : angular/1.1.5

How can I install it?

我该如何安装?

4 个解决方案

#1


4  

You need bower for the job (and git)!

工作(和git)你需要凉亭!

Install it via npm

通过npm安装它

npm install -g bower

And then

bower install angular-unstable#1.1.5

It'll create a components directory with angular 1.1.5 inside.

它将创建一个内部带有角度1.1.5的组件目录。

You can install 3000+ components with bower.

您可以使用bower安装3000多个组件。

#2


20  

Angular js is also available with npm. Just write the following line in your terminal.

角度js也可用于npm。只需在终端中写下以下行。

 npm install angular

above command will install latest version of angular which is by default and for different version of the angular package use

上面的命令将安装最新版本的angular,默认情况下是对角度包使用的不同版本

npm install angular@1.1.5

This will install angular js via npm only.

这将仅通过npm安装角度js。

Note: Make sure you have npm installed in your operating system. Download Nodejs

注意:确保在操作系统中安装了npm。下载Nodejs

#3


0  

It doesn't look like angular itself is available from npm. https://npmjs.org/search?q=angular

从npm可以看出它本身不是棱角分明的。 https://npmjs.org/search?q=angular

There is a package for installing node + angular but it looks like it has 1.0.1 of angular in it. Here is the github associated with that package.

有一个用于安装node + angular的包,但看起来它有1.0.1的角度。这是与该包相关联的github。

https://github.com/edwardhotchkiss/node-angular/tree/master/lib/node-angular

#4


0  

Update: angular does available from npm now. https://www.npmjs.com/package/angular

更新:角度确实从npm现在可用。 https://www.npmjs.com/package/angular

just newbies should know...

只是新手应该知道......

#1


4  

You need bower for the job (and git)!

工作(和git)你需要凉亭!

Install it via npm

通过npm安装它

npm install -g bower

And then

bower install angular-unstable#1.1.5

It'll create a components directory with angular 1.1.5 inside.

它将创建一个内部带有角度1.1.5的组件目录。

You can install 3000+ components with bower.

您可以使用bower安装3000多个组件。

#2


20  

Angular js is also available with npm. Just write the following line in your terminal.

角度js也可用于npm。只需在终端中写下以下行。

 npm install angular

above command will install latest version of angular which is by default and for different version of the angular package use

上面的命令将安装最新版本的angular,默认情况下是对角度包使用的不同版本

npm install angular@1.1.5

This will install angular js via npm only.

这将仅通过npm安装角度js。

Note: Make sure you have npm installed in your operating system. Download Nodejs

注意:确保在操作系统中安装了npm。下载Nodejs

#3


0  

It doesn't look like angular itself is available from npm. https://npmjs.org/search?q=angular

从npm可以看出它本身不是棱角分明的。 https://npmjs.org/search?q=angular

There is a package for installing node + angular but it looks like it has 1.0.1 of angular in it. Here is the github associated with that package.

有一个用于安装node + angular的包,但看起来它有1.0.1的角度。这是与该包相关联的github。

https://github.com/edwardhotchkiss/node-angular/tree/master/lib/node-angular

#4


0  

Update: angular does available from npm now. https://www.npmjs.com/package/angular

更新:角度确实从npm现在可用。 https://www.npmjs.com/package/angular

just newbies should know...

只是新手应该知道......