简体   繁体   English

找不到angular2-redux-starter.git

[英]Cannot find angular2-redux-starter.git

this is more than likely pilot error, but I thought I would try. 这很可能是飞行员错误,但我想我会尝试的。 If this is poor form, please tell me where I can learn good form. 如果这是差劲的形式,请告诉我在哪里可以学习好的形式。 I'm new to Angular. 我是Angular的新手。

I'm trying to start up my application from NPM. 我正在尝试从NPM启动我的应用程序。 It "was working fine", and then it wasn't. 它“工作正常”,然后就没有了。

The following is what was in the npm-debug.log: 以下是npm-debug.log中的内容:

17 error Windows_NT 10.0.15063
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
19 error node v6.3.0
20 error npm  v3.10.8
21 error code ELIFECYCLE
22 error angular2-redux-starter@0.2.0 dev: `cross-env NODE_ENV=development webpack-dev-server -d --inline --progress --no-info`
22 error Exit status 1
23 error Failed at the angular2-redux-starter@0.2.0 dev script 'cross-env NODE_ENV=development webpack-dev-server -d --inline --progress --no-info'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the angular2-redux-starter package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     cross-env NODE_ENV=development webpack-dev-server -d --inline --progress --no-info
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs angular2-redux-starter
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls angular2-redux-starter
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

In my package.json file I have the following: 在我的package.json文件中,我具有以下内容:

"repository": {
    "type": "git",
    "url": "https://github.com/rangle/angular2-redux-starter.git"

When I go to the url above it redirects to https://github.com/rangle/angular2-redux-example 当我转到上方的网址时,它将重定向到https://github.com/rangle/angular2-redux-example

I'm not sure if this is the reason I'm having the issue. 我不确定这是否是我遇到问题的原因。 Are my references simply out of date? 我的参考文献只是过时了吗? When you go to the new repo it says it's deprecated. 当您转到新的存储库时,它说它已被弃用。 Can anyone suggest the best course of action here? 有人可以在这里建议最佳的行动方案吗? Is this even the right place to post? 这甚至是张贴的正确地点吗? Any help is appreciated! 任何帮助表示赞赏!

The link you provided may not be the right one. 您提供的链接可能不正确。 As its showing deprecated in git. 由于它在git中已弃用 Have you tried this link https://github.com/rangle/angular2-redux-example/tree/archive . 您是否尝试过此链接https://github.com/rangle/angular2-redux-example/tree/archive But if you want the latest one, use the actual repo as Ced mentioned. 但是,如果您想要最新版本,请使用Ced所述的实际回购协议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM