Error: Cannot find module 'ibm-watson/auth'

I am having trouble with the second or third line of this code. Please help!

const TextToSpeechV1 = require(‘ibm-watson/text-to-speech/v1’);
//const { IamAuthenticator } = require(‘ibm-watson/auth’);
//const { BasicAuthenticator } = require(‘ibm-watson/auth’);

How are you using ibm-watson?

If you have used the nodeJS through Wix Package Manager, then you need to use it as stated.
https://support.wix.com/en/article/corvid-managing-external-code-libraries-with-the-package-manager
https://www.npmjs.com/package/ibm-watson

However, please note that the ibm-watson nodeJS is now onto version 5.3.1, so if you are wanting the latest version through the Wix Package Manager, then you will need to put in another request to get it updated.

Major version 5 released
Version v5.0.0 of the SDK has been released and includes a number of breaking changes - see what’s changed in the migration guide .

Supporting Node versions 10+
The SDK will no longer be tested with Node versions 6 and 8. Support will be officially dropped in v5.

=====================================================================

As for using their own REST API, then you will need to follow their own documents too.
https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-authentication.html#rest
https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-authentication.html#rest-api

REST API

See: Watson Machine Learning REST API

To use the Watson Machine Learning REST API, you need to obtain an IBM Cloud Identity and Access Management (IAM) token.

In this example, you would just supply your API key in place of the example key.

Node.js example

var btoa    = require( "btoa" );
var request = require( 'request' );

// Paste your Watson Machine Learning service apikey here
var apikey = "123456789";

// Use this code as written to get an access token from IBM Cloud REST API
//
var IBM_Cloud_IAM_uid = "bx";
var IBM_Cloud_IAM_pwd = "bx";

var options = { url     : "https://iam.bluemix.net/oidc/token",
                headers : { "Content-Type"  : "application/x-www-form-urlencoded",
                            "Authorization" : "Basic " + btoa( IBM_Cloud_IAM_uid + ":" + IBM_Cloud_IAM_pwd ) },
                body    : "apikey=" + apikey + "&grant_type=urn:ibm:params:oauth:grant-type:apikey" };

request.post( options, function( error, response, body )
{
    var iam_token = JSON.parse( body )["access_token"];
} );

Now I get an error only once: (node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

After that I get no errors but nothing is showing up in console.log

Here is the code: