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

Error: Cannot find module '../base #521

Open
dabit3 opened this issue Mar 13, 2023 · 0 comments
Open

Error: Cannot find module '../base #521

dabit3 opened this issue Mar 13, 2023 · 0 comments

Comments

@dabit3
Copy link

dabit3 commented Mar 13, 2023

When following the instructions here, this error is thrown:

> weavedb@0.9.0 cp
> copyfiles -u 1 ./contracts/**/*.json dist

secp256k1 unavailable, reverting to browser version

Error: Cannot find module '../base'
Require stack:
- /Users/naderdabit/temp/delete/weavedbtest/weavedb/test/exm.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1047:15)
    at Module._load (node:internal/modules/cjs/loader:893:27)
    at Module.require (node:internal/modules/cjs/loader:1113:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/Users/naderdabit/temp/delete/weavedbtest/weavedb/test/exm.js:10:14)
    at Module._compile (node:internal/modules/cjs/loader:1226:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
    at Module.load (node:internal/modules/cjs/loader:1089:32)
    at Module._load (node:internal/modules/cjs/loader:930:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
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