You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On macOS, installed here as a symlink pointing to the `.js` file in the repo:
26
26
27
27
```
28
28
/opt/homebrew/bin/acm
29
29
```
30
30
31
-
If you get permissions issues, remove and add again.
31
+
If you get permissions issues, it is because the `.js` file was rebuilt and with standard permissions and needs to be linked again.
32
32
33
33
```sh
34
-
$ npm unlink auto-commit-msg
35
-
$ npm link auto-commit-msg
34
+
$ npm run cli
36
35
```
37
36
38
-
See [package.json](/package.json). Supposedly you should be able to leave out the project name when running `npm link` via an `npm run ...` command but I found this causes issues, so decided to always use the full name in the configuration. And to always unlink then link in one go.
37
+
Check:
38
+
39
+
```sh
40
+
ls -l $(realpath /opt/homebrew/bin/acm)
41
+
```
42
+
43
+
See [package.json](/package.json). Supposedly you should be able to leave out the project name when running `npm link` via an `npm run ...` command but I found this causes issues, so decided to always use the full name in the configuration. And to _always_ unlink then link in one go because of permissions issues.
0 commit comments