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

Module is not working, after install unable to execute the protractor scripts too #11

Open
priyankaDamam31 opened this issue Aug 11, 2021 · 0 comments

Comments

@priyankaDamam31
Copy link

priyankaDamam31 commented Aug 11, 2021

Hi @Slobo989 , @zeljkosimic95

I am trying to use the module to update the test results from protractor tests to Testrail but I am facing the below error whenever I try to run the test suite. I have followed all the steps mentioned in the page to import the package and then I ran npm install command. Even then I am facing the same issue.

E/configParser - Error code: 105
E/configParser - Error message: failed loading configuration file ./protractor.conf.js
E/configParser - Error: Cannot find module '/project_directory/node_modules/jasmine-2-testrail/node_modules/testrail/dist/TestRail.node.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:321:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:534:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:888:27)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (/Users/pdamam/Git/blackpearl-ui/node_modules/jasmine-2-testrail/jasmine-2-testrail.js:2:18)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
error Command failed with exit code 105.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 105.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I checked this path :: /project_directory/node_modules/jasmine-2-testrail/node_modules/testrail/dist/TestRail.node.js from the directory but I did not find 'dist' folder at all in the directory. What am I missing?
Screenshot 2021-08-11 at 8 55 13 PM

@priyankaDamam31 priyankaDamam31 changed the title Unable to make use of the module Module is not working, after install unable to execute the protractor scripts too Aug 11, 2021
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