teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

初心者マークの追加

2020/01/27 09:17

投稿

MrLonginus
MrLonginus

スコア11

title CHANGED
File without changes
body CHANGED
@@ -56,4 +56,4 @@
56
56
  xi18n Extracts i18n messages from source code.
57
57
  ```
58
58
 
59
- 使用PCはMacです
59
+ 使用PCはMacです

2

バージョン書き出し結果の追加

2020/01/27 09:17

投稿

MrLonginus
MrLonginus

スコア11

title CHANGED
File without changes
body CHANGED
@@ -35,4 +35,25 @@
35
35
 
36
36
  sudoで試して見たりしましたがうまくいかず、調べてもやはりうまくいきませんでした。
37
37
 
38
+ バージョンを書き出すと以下の通りになりました。
39
+ ```Available Commands:
40
+ add Adds support for an external library to your project.
41
+ analytics Configures the gathering of Angular CLI usage metrics. See https://v8.angular.io/cli/usage-analytics-gathering.
42
+ build (b) Compiles an Angular app into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.
43
+ deploy (d) Invokes the deploy builder for a specified project or for the default project in the workspace.
44
+ config Retrieves or sets Angular configuration values in the angular.json file for the workspace.
45
+ doc (d) Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.
46
+ e2e (e) Builds and serves an Angular app, then runs end-to-end tests using Protractor.
47
+ generate (g) Generates and/or modifies files based on a schematic.
48
+ help Lists available commands and their short descriptions.
49
+ lint (l) Runs linting tools on Angular app code in a given project folder.
50
+ new (n) Creates a new workspace and an initial Angular app.
51
+ run Runs an Architect target with an optional custom builder configuration defined in your project.
52
+ serve (s) Builds and serves your app, rebuilding on file changes.
53
+ test (t) Runs unit tests in a project.
54
+ update Updates your application and its dependencies. See https://update.angular.io/
55
+ version (v) Outputs Angular CLI version.
56
+ xi18n Extracts i18n messages from source code.
57
+ ```
58
+
38
59
  使用PCはMacです。

1

実行文追加

2020/01/27 09:15

投稿

MrLonginus
MrLonginus

スコア11

title CHANGED
File without changes
body CHANGED
@@ -2,7 +2,10 @@
2
2
 
3
3
  参考URL https://qiita.com/mii-chan/items/e0095da0a150e7b797c2
4
4
 
5
- 参考URLを元にAngularJSの環境構築を試みましたが、以下エラーが出ました。
5
+ 参考URLを元にAngularJSの環境構築を試み、terminalで以下を実行したらエラーが出ました。
6
+ ```
7
+ npm install -g @angular/cli
8
+ ```
6
9
 
7
10
  ```
8
11
  npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules