查看Slack合规性档案
我需要一些帮助来查看和search闲置的档案。 我有一个我试图通过的档案的zip文件(请参阅下面的详细信息)。
我发现这个项目并克隆它。 https://github.com/dting/slack-archive-viewer 。
我安装了节点和postgres。 我在文件夹slack-archive-viewer中创build了一个.env文件:具有以下细节:
APP_SECRET= APP_SECRET ( I set this = to Client Secret listed in slack - to connect to the slack API) SLACK_ID =SLACK_ID ( I set this to the slack Client ID without quotes) SLACK_SECRET= SLACK_SECRET (i set this to the slack Verification Token ) DOMAIN = http://localhost:9000
这些设置是正确还是需要使用其他设置,我会在哪里find正确的设置?
然后我尝试了以下步骤:
npm run parse -- -f -file=export.zip -team=myteam
但是我得到了以下错误(特别是运行: npm run parse -- -f -file=test.zip -team="my team name"
)
我得到的具体错误是:
npm ERR! node v6.11.2 npm ERR! npm v3.10.10 npm ERRR! code ELIFECYCLE npm ERR! slarchuvuerer@1.0.0 parse: 'rimraf tmp && node -r dotenv/config export-parser/index.js "-f" "file" "=test.zip" "-team=my team name"' npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the slarchiviewer@1.0.0 parse script 'rimraf tmp &&node - r dotenv/config export-parser/index.js "-f" "file" "=test.zip" "-team=my team name"'. npm ERR! make sure you have the latest version of node,js and npm installed. npm ERR! If you do, this is most likely a problem with the slarchiviewer package, not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! rimraf tmp && node -r dotenv/config export-parser/index.js "-f" "- file" "=test.zip" "team =my team name"
…
你能build议我能做些什么来纠正这些错误,并得到这个工作? 错误说我需要最新版本的节点,我相信是8,但是这个项目的要求是节点6。
有没有人成功安装和运行这个,并可以提供configuration和运行的指示?
任何援助表示赞赏。