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

Unable to open server after updating opentest in the machine #460

Closed
Naveenkumarnnk opened this issue May 7, 2021 · 2 comments
Closed
Labels

Comments

@Naveenkumarnnk
Copy link

Hi Team,

I have updated opentest in my Linux machine to an updated version.
From then, whenever i am trying to open server and actor files getting the following error.

[Naveen@nnk-gitappqa01 ~]$ opentest server
internal/modules/cjs/loader.js:463
throw e;
^

Error: Package exports for '/usr/local/lib/node_modules/opentest/node_modules/underscore' do not define a valid '.' target
at resolveExportsTarget (internal/modules/cjs/loader.js:460:13)
at resolveExports (internal/modules/cjs/loader.js:393:16)
at Function.Module._findPath (internal/modules/cjs/loader.js:492:20)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:787:27)
at Function.Module._load (internal/modules/cjs/loader.js:693:27)
at Module.require (internal/modules/cjs/loader.js:864:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/usr/local/lib/node_modules/opentest/node_modules/opentest-server/dist/lib/log-manager.js:7:11)
at Module._compile (internal/modules/cjs/loader.js:971:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) {
code: 'MODULE_NOT_FOUND'
}

Could you help me in resolving this...?

Thank you.

@adrianth
Copy link
Contributor

adrianth commented May 7, 2021

This is a problem with the Node.js version you are using. Try installing the latest LTS version (14.16.1).

@stale
Copy link

stale bot commented Sep 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 4, 2021
@stale stale bot closed this as completed Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants