bootstrap-vue-treeview icon indicating copy to clipboard operation
bootstrap-vue-treeview copied to clipboard

Cannot find module 'bootstrap-vue-treeview'

Open dotevo opened this issue 5 years ago • 0 comments

Hello,

Where can I find the 1.0.8 version from npm? I have following error during the import: Cannot find module 'bootstrap-vue-treeview'

My files inside node_modules:

$ ls node_modules/bootstrap-vue-treeview/dist/
bootstrap-vue-treeview.common.js      bootstrap-vue-treeview.esm.js      bootstrap-vue-treeview.js
bootstrap-vue-treeview.common.js.map  bootstrap-vue-treeview.esm.js.map  bootstrap-vue-treeview.js.map

So I cannot find the main file from package.json:

  ],
  "license": "MIT",
  "main": "dist/treeview.js",
  "maintainers": [
    {
      "name": "kamil-lip",
      "email": "[email protected]"
    }
  ],

When I'm changing main to "dist/bootstrap-vue-treeview.js" it is working fine.

BR, Adam

dotevo avatar Aug 16 '19 10:08 dotevo