jaredpalmer / jaredpalmer/the-platform
Will not compile: `typings/react-cache.d` referenced (but missing) from published bundle
- Dominant language
- TypeScript
- Stars
- 4.4k
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
After installing `the-platform` and `react-cache` in my Typescript project, it will not build.
There are several errors of the variety:
```
node_modules/the-platform/Audio.d.ts:1:22 - error TS6053: File '/Users/zaneclaes/OpenWorkShop/OpenWorkEngine/npm-packages/ui/node_modules/the-platform/typings/react-cache.d.ts' not found.
1 ///
```
Looking at the `node_modules/the-platform` folder, there is no `typings/` folder.
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect the published node_modules/the-platform package and Audio.d.ts, then check why its reference to typings/react-cache.d.ts points to a missing file. Done means the published bundle no longer produces the reported TypeScript TS6053 errors when installed with react-cache.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100