Skip to content

Commit b7ccf77

Browse files
authored
Update README.md
1 parent 72be369 commit b7ccf77

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

exercises/ex1/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ Now Yeoman will ask you several questions necessary to create your application:
2323

2424
After answering all questions (just press `Enter` to confirm the defaults), Yeoman runs `npm install` in the application directory. Once completed you can switch into the directory `com.myorg.myapp`.
2525

26+
> `yo easy-ui5 ts-app` may cause an error to download and install the `ts-app` template on Macs. In this case, a similar error like this can appear:
27+
>
28+
> ```sh
29+
> Error: EACCES: permission denied, mkdir '/path/to/project/ProjectName'
30+
> at Error (native)
31+
> at Object.fs.mkdirSync (fs.js:799:18)
32+
> ...
33+
> ```
34+
>
35+
> The issue appears as your global `node_modules` folder is located in your `usr/local/lib` folder for which owner permissions are needed to create/modify/delete files or folders. To overcome this issue run `chmod ugo+rwx /usr/local/lib/node_modules/generator-easy-ui5/plugin-generators` to ensure write permissions are granted.
36+
2637
> `npm install` may cause an error in finding dependencies. In this case, a similar error like this can appear:
2738
>
2839
> ```sh

0 commit comments

Comments
 (0)