2016-09-24 13 views
0

私のAngle 2アプリケーションでコンポーネントを生成する際に問題が発生しました。 'other'フォルダにコマンド ng g [nameofcomponent] -it -is指定された場所にNgが生成されない

があります。文書化されているため、このフォルダ内のコンポーネントは外部には生成されません。私はなぜそれが起こっているのか知りません。そしてヒント?

ありがとうございます。コンソールからの画像の添付。

+0

http://imgur.com/a/Mi0XX – Sintari

答えて

0

私はcmdの代わりにgit bashを使用していたのですが、これは間違いでした。 cmdではすべて正常に動作します。どうしてか分かりません。

0

正常に動作しています。

M74-MAC:~/App_v2/src/app/other$ ng g component new-component 
installing component 
    create src/app/other/new-component/new-component.component.css 
    create src/app/other/new-component/new-component.component.html 
    create src/app/other/new-component/new-component.component.spec.ts 
    create src/app/other/new-component/new-component.component.ts 
+0

私にとってはうまくいきません。私は何か間違っているのですか? http://imgur.com/a/HnRuv – Sintari

関連する問題