@grknbyk/agent-wire 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,17 @@ Run `setup` in a real terminal window. It asks questions, so it refuses a pipe,
|
|
|
38
38
|
script, and an editor task — an agent that tries to run it from a tool gets a
|
|
39
39
|
one-line refusal and usually tells you the wrong thing about why.
|
|
40
40
|
|
|
41
|
+
On macOS the first line often fails with `EACCES` on `/usr/local/lib/node_modules`,
|
|
42
|
+
which is owned by root. Give npm a prefix you own rather than reaching for `sudo`,
|
|
43
|
+
which leaves root-owned files behind for every install after this one:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
mkdir -p ~/.npm-global
|
|
47
|
+
npm config set prefix ~/.npm-global
|
|
48
|
+
echo 'export PATH="$HOME/.npm-global/bin:$PATH"' >> ~/.zshrc
|
|
49
|
+
source ~/.zshrc
|
|
50
|
+
```
|
|
51
|
+
|
|
41
52
|
Setup prints the path of the bundled `manifest.json`. You create the app from it
|
|
42
53
|
at [api.slack.com/apps/new](https://api.slack.com/apps/new), install it, and paste
|
|
43
54
|
the Bot User OAuth Token back. Then you create the channel in Slack and type
|