Closed OumaWu closed 5 years ago
carlo
?example.js
code?I've fixed it, I didn't install carlo in the project directory. Thanks.
But I still can't run the code, because I didn't intall Google Chrome in C drive, is there a way to fix that ? "D:\Projects\Web\Node\carlo>node example.js Could not find Chrome installation, please make sure Chrome browser is installed from https://www.google.com/chrome/."
please set your executablePath
option when you carlo.launch
.
Thx, I've launched the program successfully.
After I run the example.js, it throws an error message:
"D:\Projects\Web\Node\carlo>node example.js internal/modules/cjs/loader.js:582 throw err;
Error: Cannot find module 'carlo' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15) at Function.Module._load (internal/modules/cjs/loader.js:506:25) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (D:\Projects\Web\Node\carlo\example.js:1:77)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module. load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3) "