docs: add note about current working directory for cli projects (#31507)
Fixes #29878 PR Close #31507
This commit is contained in:
parent
09576e9683
commit
f166b6d8f6
|
@ -36,6 +36,14 @@ ng serve
|
||||||
In your browser, open http://localhost:4200/ to see the new app run.
|
In your browser, open http://localhost:4200/ to see the new app run.
|
||||||
When you use the [ng serve](cli/serve) command to build an app and serve it locally, the server automatically rebuilds the app and reloads the page when you change any of the source files.
|
When you use the [ng serve](cli/serve) command to build an app and serve it locally, the server automatically rebuilds the app and reloads the page when you change any of the source files.
|
||||||
|
|
||||||
|
<div class="alert is-helpful">
|
||||||
|
|
||||||
|
When you run `ng new my-first-project` a new folder, named `my-first-project`, will be created in the current working directory. Since you wont to be able to create files inside that folder, make sure you have sufficient rights in the current working directory before running the command.
|
||||||
|
|
||||||
|
If the current working directory is not the right place for your project, you can change to a more appropriate directory by running `cd <path-to-other-directory>` first.
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
## Workspaces and project files
|
## Workspaces and project files
|
||||||
|
|
||||||
The [ng new](cli/new) command creates an *Angular workspace* folder and generates a new app skeleton.
|
The [ng new](cli/new) command creates an *Angular workspace* folder and generates a new app skeleton.
|
||||||
|
|
Loading…
Reference in New Issue