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

Missing protobufjs dep? #107

Closed
achou11 opened this issue Aug 8, 2023 · 0 comments · Fixed by #134
Closed

Missing protobufjs dep? #107

achou11 opened this issue Aug 8, 2023 · 0 comments · Fixed by #134
Assignees

Comments

@achou11
Copy link
Member

achou11 commented Aug 8, 2023

installing v3.0.0-next.5 as a dependency and getting this error:

node:internal/errors:490
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'protobufjs' imported from /Users/andrewchou/GitHub/digidem/mapeo-mock-data/node_modules/@mapeo/schema/dist/proto/observation/v5.js
    at new NodeError (node:internal/errors:399:5)
    at packageResolve (node:internal/modules/esm/resolve:889:9)
    at moduleResolve (node:internal/modules/esm/resolve:938:20)
    at defaultResolve (node:internal/modules/esm/resolve:1153:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v18.16.0

Installing protobufjs in my project fixes the issue

gmaclennan added a commit that referenced this issue Aug 23, 2023
@gmaclennan gmaclennan linked a pull request Aug 23, 2023 that will close this issue
@gmaclennan gmaclennan self-assigned this Aug 23, 2023
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

Successfully merging a pull request may close this issue.

2 participants