I am unable to use yarn to install datatables.net-bm. It is complaining of a missing dependency
I am unable to use yarn to install datatables.net-bm. It is complaining of a missing dependency
Link to test case:
yarn add @datatables.net/editor-bm --registry https://npm.datatables.net/
Debugger code (debug.datatables.net):
Error messages shown:
error Couldn't find package "datatables.net-bm@1.13 - 2" required by "@datatables.net/editor-bm" on the "npm" registry.
Description of problem:
Just trying to add this to a new project. It looks like something is missing in the repository.
Answers
That's odd - it is available here.
I wonder if the
--registry https://npm.datatables.net/
is cascading to all dependencies? I've just tried annpm install @datatables.net/editor-bm
and it worked okay.Perhaps try
yarn add datatables.net-bm
and then run your Editor install line?Allan
Yes that worked. I was just following the installation instructions from https://editor.datatables.net/manual/installing/#NPM-package-manager
Thanks
Good to hear that did the job. The dcs use a configuration file rather than
--registry
but its a good point, I'll figure out a way to mention than in the docs.Allan