Truweb issue in using third party node modules
I tried Truweb script with third party node module to get some additional details.
Keep getting following error in require function.
const perftestcustom= require('perftestcustom');
[08:08:09.40] Error: Vuser : "Require::RequireFunction - couldn't resolve path for the file os in folder: D:\TruWeb\Scripts\TruWeb1_test_nodemodules\node_modules\\perftestcustom\lib\" thrown at undefined:undefined:undefined
[08:08:09.40] Error: Failed to create Vusers: the thread of vuser 1 didn't start correctly
Used syntax provided in PC user guide. I did install nodemodule using npm i \perftestcustom –save command.
Does anyone come across this error? Appreciatae your help. Thanks
Thank you so much for submitting your concern,
Could you kindly let me know if you already installed Node.js?
Did you run the command npm i --save lodash?
Could you please try with the following line const lodash = require('lodash'); to see if you receive a different result?
Also, could you please upload your script?
Thank you in advance!
Have a great rest of your day!
Could you please validate if third party node module 'perftestcustom' that you using, uses internally 'os' node module.