switch to meanjs 0.3 from 0.4

ぐ巨炮叔叔 提交于 2019-12-24 19:07:24

问题


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

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."

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


回答1:


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.

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

To get the latest version (in master branch):

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

To get 0.3.3 version:

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


来源:https://stackoverflow.com/questions/33190467/switch-to-meanjs-0-3-from-0-4

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!