toilatester / reportportal-javascript-agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install reportportal-javascript-agent

mbhandigare opened this issue · comments

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/reportportal-javascript-agent - Not found
npm ERR! 404
npm ERR! 404 'reportportal-javascript-agent@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mahesh.bhandigare/.npm/_logs/2019-08-08T16_17_58_762Z-debug.log

You can try to reinstall it without @latest tag or specify the version tag to 0.0.9
image

e2e/config/protractor.conf.ts:33:8 - error TS2339: Property '__projectRoot' does not exist on type 'Global'.

33 global.__projectRoot = process.cwd();
~~~~~~~~~~~~~

e2e/config/protractor.conf.ts:36:8 - error TS2339: Property 'REPORT_INFO' does not exist on type 'Global'.

36 global.REPORT_INFO = require(CURRENT_SESSION_INFO_FILE_NAME);
~~~~~~~~~~~

e2e/config/protractor.conf.ts:83:19 - error TS2339: Property 'log4jsInstance' does not exist on type 'Global'.

83 return global.log4jsInstance;
~~~~~~~~~~~~~~

e2e/config/protractor.conf.ts:95:24 - error TS2339: Property 'REPORT_FOLDER_PATH' does not exist on type 'Global'.

95 'json:' + global.REPORT_FOLDER_PATH + '/summary.json',
~~~~~~~~~~~~~~~~~~

Facing issue for Globals...Do I need to install something?

Can you share your e2e/config/protractor.conf.ts. It looks like you are missing file report.config.json. You can take a look at example folder for having correctly set up for this library