HeyPuter / HeyPuter/browser.js

Unable to build. Scramjet is missing?

Open Beginner friendly
#95 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
239
Forks
86
PR merge metrics
No merged PRs in 30d

Description

Already ran the other commands for settings up the development server.
Upon running ```pnpm build```, I get a error that scramjet doesn't exist. I don't know why this would happen

```> browser.js@1.0.1 build /home/arch/beta.browser.js
> rspack build

Error: ENOENT: no such file or directory, open '/home/fx/beta.browser.js/packages/scramjet/packages/core/dist/scramjet.wasm'
at async open (node:internal/fs/promises:1360:25)
at async readFile (node:internal/fs/promises:2149:14)
at async file:///home/fx/beta.browser.js/packages/scramjet/rspack.config.ts:230:17 {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/fx/beta.browser.js/packages/scramjet/packages/core/dist/scramjet.wasm'
}
 ELIFECYCLE  Command failed with exit code 1.```

Contributor guide

Open the contributing guide

Research direction

Start by running `pnpm build` and inspect `packages/scramjet/rspack.config.ts` around line 230, where the build reads `packages/core/dist/scramjet.wasm`. Trace how that artifact is expected to be produced or installed, then verify the build completes without the ENOENT error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.