kriasoft / kriasoft/cloudflare-starter-kit
Cannot read properties of undefined (reading '/workspaces/cloudflare-starter-kit/.pnp.cjs')
- Dominant language
- TypeScript
- Stars
- 138
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I intialized this project in code space, but it throws an error like this when I run `yarn start` after I run `yarn install`.
so what should i do to solve this problem?
```bash
Type Error: Cannot read properties of undefined (reading '/workspaces/cloudflare-starter-kit/.pnp.cjs')
at yne (/workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:134:54207)
at QXe (/workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:134:54676)
at Object.Jp (/workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:134:54817)
at /workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:650:4662
at Object.vf (/workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:134:53352)
at Ih.findPackageLocation (/workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:650:4617)
at /workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:184:1268
at Function.from ()
at LP (/workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:184:1012)
at yue (/workspaces/cloudflare-starter-kit/.yarn/releases/yarn-4.0.0-rc.39.cjs:184:1595)
```
Contributor guide
Research direction
Reproduce the failure in the project root with `yarn install` followed by `yarn start` in the Codespace setup. Inspect `.yarn/releases/yarn-4.0.0-rc.39.cjs` around the reported stack and the `.pnp.cjs` path. Done means `yarn start` runs without the reported TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100