bynk.requires.unpinned_dependency
Error An adapter binding … requires { … } entry has an unpinned version range.
An adapter's requires states the npm versions its binding is written against, and the build installs exactly what it says. *, x, latest and a range with no digit in it accept whatever version is newest on the day, so two builds of the same source can differ. Name a range that has a version in it, such as ^5.2.0.
Example
binding "./tokens.binding.ts" requires { "jose": "*" } // ✗ any version at all
binding "./tokens.binding.ts" requires { "jose": "^5.2.0" } // ✓ a pinned rangeIn the Book
- Adapters › Anatomy
- Adapters
- Wrap a library as an adapter
- Share code between projects › Approve a dependency’s npm packages
See also
- The grammar rule it governs:
binding_decl. - Every code in its category, npm requirements, on the diagnostic index.
bynk explain bynk.requires.unpinned_dependencyshows the same from the installed toolchain, without a network.