Skip to content
Playground(another site)

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 range

In the Book

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_dependency shows the same from the installed toolchain, without a network.