bbycroft/llm-viz

No such file named "BUILD_ID"

Ezharjan opened this issue · 1 comments

Thanks for your nice work.
When I was running this project, I encountered the following error after running "npm run start":

D:\Downloaded\llm-viz>npm install
npm WARN deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

added 545 packages, and audited 546 packages in 3m

161 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (1 low, 2 moderate)

To address all issues, run:
  npm audit fix --force

Run `npm audit` for details.

D:\Downloaded\llm-viz>npm run start

> start
> next start

- ready started server on [::]:3000, url: http://localhost:3000
[Error: ENOENT: no such file or directory, open 'D:\Downloaded\llm-viz\.next\BUILD_ID'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'D:\\Downloaded\\llm-viz\\.next\\BUILD_ID'
}

What should I do besides running npm install, before running npm run start?

See the bottom of the README.md. You'll want to do yarn, yarn dev to build/run locally instead of npm, as that'll use the proper yarn lock file.