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

Can't get this to run. #30

Open
SectorV5 opened this issue Dec 4, 2024 · 0 comments
Open

Can't get this to run. #30

SectorV5 opened this issue Dec 4, 2024 · 0 comments

Comments

@SectorV5
Copy link

SectorV5 commented Dec 4, 2024

I've tried following the Guide step by step, I came to this part:

Admin@DESKTOP-P3FBCSG MINGW64 ~/Desktop/Brainrot/generate
$ docker build -t brainrot .
[+] Building 0.1s (1/1) FINISHED                           docker:desktop-linux
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 2B                                         0.0s
ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory

View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/z2ipyllg16zag95ewn2b3kqoo

That didn't work, even tho I installed everything I need to, I got all the API keys and I made the proper .env file.

Then I tried what I was some other user doing in the issues:

Admin@DESKTOP-P3FBCSG MINGW64 ~/Desktop/Brainrot/generate
$ node localBuild.mjs
node:internal/modules/esm/resolve:838
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
        ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'node-fetch' imported from C:\
Users\Admin\Desktop\Brainrot\generate\eleven.mjs
    at packageResolve (node:internal/modules/esm/resolve:838:9)
    at moduleResolve (node:internal/modules/esm/resolve:907:18)
    at defaultResolve (node:internal/modules/esm/resolve:1037:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:582:38)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:241:
38)
    at ModuleJob._link (node:internal/modules/esm/module_job:132:49) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v22.11.0

I'm not sure what I'm supposed to do, the README.md isn't that clear to follow.

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