从0.4切换到meanjs 0.3 [英] switch to meanjs 0.3 from 0.4

查看:129
本文介绍了从0.4切换到meanjs 0.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下命令从Meanjs 0.4版本切换到Meanjs 0.3版本,

I am trying switch from meanjs 0.4 version to meanjs 0.3 version with the following commmand,

npm install meanjs/generator-meanjs#0.3

npm install meanjs/generator-meanjs#0.3

此命令给出错误"npm ERR!git rev-list -n1 0.3:致命:模棱两可的参数'0.3':未知修订或不在工作树中的路径."

This command is giving error "npm ERR! git rev-list -n1 0.3: fatal: ambiguous argument '0.3': unknown revision or path not in the working tree."

如何从Meanjs 0.4版本切换回Meanjs 0.3版本?

How to switch back to meanjs 0.3 version from meanjs 0.4 version?

推荐答案

没有办法拥有一个版本并使用生成器自动更新到另一个版本.

There is no way to have one version and automatically update to another using the generator.

您必须选择一种版本并根据需要对其进行调整.

You have to choose one version and adapt it according to your needs.

获取MEAN.js项目并开始进行工作的最好方法是克隆正式的MEAN.js github存储库.

The best way to get a MEAN.js project and start working on it, is by cloning the official MEAN.js github repository.

要获取最新版本(在master分支中):

To get the latest version (in master branch):

git clone https://github.com/meanjs/mean.git meanjs

要获得0.3.3版本:

To get 0.3.3 version:

git clone https://github.com/meanjs/mean.git --branch v0.3.3 --single-branch meanjs

这篇关于从0.4切换到meanjs 0.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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