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

Throws ERR_MODULE_NOT_FOUND #28

Open
TravisDart opened this issue Aug 21, 2024 · 0 comments
Open

Throws ERR_MODULE_NOT_FOUND #28

TravisDart opened this issue Aug 21, 2024 · 0 comments

Comments

@TravisDart
Copy link

TravisDart commented Aug 21, 2024

Maybe I'm missing something, but this doesn't seem to work. Steps to reproduce:

  • Clone the tui-test repo
  • Install using npm i -D @microsoft/tui-test
  • cd to either the examples or the test folder
  • run npx @microsoft/tui-test

Result:

npx @microsoft/tui-test
node:internal/modules/esm/resolve:265
    throw new ERR_MODULE_NOT_FOUND(
          ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/path/to/repo/tui-test/lib/test/test.js' imported from /path/to/repo/tui-test/index.js
    at finalizeResolution (node:internal/modules/esm/resolve:265:11)
    at moduleResolve (node:internal/modules/esm/resolve:933:10)
    at defaultResolve (node:internal/modules/esm/resolve:1169:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
    at link (node:internal/modules/esm/module_job:86:36) {
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///path/to/repo/tui-test/lib/test/test.js'
}

Node.js v20.16.0
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