First time here? Checkout the FAQ!
x
+1 vote
605 views
asked in Javascript by (116k points)  

I wanted to use Watson Assistant V2 in my following nodejs code, but it cannot be found and gave me error.

var AssistantV2 = require('watson-developer-cloud/assistant/v2'); // Watson SDK

What should I do?

  

1 Answer

0 votes
answered by (116k points)  

You should make sure you already installed the library using npm in your command line:

npm install watson-developer-cloud
...