When I do:
npm install @slack/client
node -e 'require("@slack/client")'
The output I get is this:
TypeError: module.exports.repository.replace is not a function
It's because on the installed version the value of repository property in package.json is:
{ type: 'git',
url: 'git+https://github.com/slackapi/node-slack-sdk.git' }
Which, I guess, is not expected.
On linux. Latest version.
Same here. The module is broken now.
Right. I did not expect that NPM would actually alter the package.json file. TIL. Getting a fix out now.
@Rauno56 @palmerabollo Can you confirm the issue is resolved?
It works now. Thank you @DEGoodmanWilson.