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

Fails to run #327

Open
2 tasks done
mohd-akram opened this issue Feb 4, 2024 · 1 comment
Open
2 tasks done

Fails to run #327

mohd-akram opened this issue Feb 4, 2024 · 1 comment

Comments

@mohd-akram
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

1.0.0

Plugin version

No response

Node.js version

20.11.0

Operating system

macOS

Operating system version (i.e. 20.04, 11.3, 10)

14.2

Description

The tool fails to run.

Steps to Reproduce

$ benchmark
node:internal/modules/cjs/loader:598
      throw e;
      ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /Users/mohamed/.local/lib/node_modules/fastify-benchmarks/node_modules/rayo/package.json
    at exportsNotFound (node:internal/modules/esm/resolve:303:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:650:9)
    at resolveExports (node:internal/modules/cjs/loader:591:36)
    at Module._findPath (node:internal/modules/cjs/loader:668:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
    at Function.resolve (node:internal/modules/helpers:187:19)
    at /Users/mohamed/.local/lib/node_modules/fastify-benchmarks/lib/packages.js:46:37
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/Users/mohamed/.local/lib/node_modules/fastify-benchmarks/lib/packages.js:43:23)
    at Module._compile (node:internal/modules/cjs/loader:1376:14) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Expected Behavior

No response

@mcollina
Copy link
Member

mcollina commented Feb 4, 2024

Ah I don't think we ever released a working version of the module, just clone the repository and run it.

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

2 participants