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

NPM package is missing needed dependencies #2

Open
jmdodge opened this issue Oct 12, 2023 · 0 comments
Open

NPM package is missing needed dependencies #2

jmdodge opened this issue Oct 12, 2023 · 0 comments

Comments

@jmdodge
Copy link

jmdodge commented Oct 12, 2023

I tried installing and running v1.4.10 through NPM, but when running the command I receive:

$ dbcp
node:internal/modules/cjs/loader:446
      throw err;
      ^                             

Error: Cannot find module 'C:\dev\pubsecdata\pubsecdata\node_modules\@wholebuzz\fs\lib\index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:438:19)
    at Module._findPath (node:internal/modules/cjs/loader:680:18)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (C:\dev\pubsecdata\pubsecdata\node_modules\dbcp\dist\cli.js:50:10)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32) {
  code: 'MODULE_NOT_FOUND',
  path: 'C:\\dev\\pubsecdata\\pubsecdata\\node_modules\\@wholebuzz\\fs\\package.json',
  requestPath: '@wholebuzz/fs'
}

Node.js v18.18.0

I was able to get the CLI working by building from the repo, but it seems like the published version is missing some things it needs.

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