bahmutov / bahmutov/pick-precompiled
Pick another file, if there is no needed version
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
For example we haven't compiled file for our Node version
Can we somehow pick file from previous version and not to throw error?
`Error: could not pick bundle for node 5.5.0 among array with 4 items.
[".build/index.compiled.for.0.10.js",".build/index.compiled.for.0.11.js",".build/index.compiled.for.0.12.js",".build/index.compiled.for.4.js"]`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the bundle-selection logic that produces the shown error and inspect how available Node versions are compared. Define and implement the fallback rule for choosing an older compatible bundle, then verify that an unavailable exact version no longer throws when a suitable previous version exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100