bbot/dist is only in the 4th entry and wrong for my setup. For my setup to work, i should be '/.../js/node_modules/bb/dist', since I'm sharing the node_modules directory in the lerna (root) directory
I've changed the dist/lib/adapter.js to test and it worked as I expected
Context: I''m trying to use the bbot in a package of a "mono-repo" with lerna + yarn Problem: The adapter is not found
I have debugged a bit and spotted a problem in the resolving mechanism:
resolver.paths values:
bbot/dist
is only in the 4th entry and wrong for my setup. For my setup to work, i should be'/.../js/node_modules/bb/dist'
, since I'm sharing the node_modules directory in the lerna (root) directory I've changed the dist/lib/adapter.js to test and it worked as I expected