Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I ran sample watson project through npm run emulatorBrowser It gives Error Cannot find module 'clear' #99

Open
stephenws opened this issue Oct 22, 2018 · 0 comments

Comments

@stephenws
Copy link

Hi

I am executing TestMyBot Watson Sample Project through
npm run emulatorBrowser
It gives me Error : Error: Cannot find module 'clear'

Logs:

StephenMac:watson Stephen$ npm run emulatorBrowser

[email protected] emulatorBrowser /Users/Stephen/Desktop/Project_Data/ChatSample/testmybot-master/samples/watson
npm install botium-cli && botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json

[email protected] postinstall /Users/Stephen/Desktop/Project_Data/ChatSample/testmybot-master/samples/watson/node_modules/botium-cli/node_modules/jsonpath
node lib/aesprim.js > generated/aesprim-browser.js

[email protected] /Users/Stephen/Desktop/Project_Data/ChatSample/testmybot-master/samples/watson
└─┬ [email protected]
└── [email protected] extraneous (git+https://github.com/codeforequity-at/jsonpath.git#b76762056427dbcd149db7211f60ee0b10ed4dce)

npm WARN [email protected] No description
npm WARN [email protected] No repository field.
/Users/Stephen/Desktop/Project_Data/ChatSample/testmybot-master/samples/watson/node_modules/yargs/yargs.js:1133
else throw err
^

Error: Cannot find module 'clear'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/Users/Stephen/Desktop/Project_Data/ChatSample/testmybot-master/samples/watson/node_modules/botium-cli/src/emulator/browser/index.js:4:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "emulatorBrowser"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] emulatorBrowser: npm install botium-cli && botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] emulatorBrowser script 'npm install botium-cli && botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json'.
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 testmybot-sample-watson package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm install botium-cli && botium-cli emulator browser --convos ./spec/convo --config ./testmybot.json
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs testmybot-sample-watson
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls testmybot-sample-watson
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/Stephen/Desktop/Project_Data/ChatSample/testmybot-master/samples/watson/npm-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant