I am trying to use an npm module in a component so I installed ember-browserify to be able to import the module, but for some reason it is not being found.
This is how I am trying to import it:
import dropzone from 'npm:dropzone'
this is the error I am getting
Uncaught Error: Could not find module `dropzone` imported from `<Project Name>/components/drop-zone/component`
I don't think it's supposed to be looking for the module there.
I have the npm in the package.json
Do I need to install something else? Is there an extra step I am missing?
EDIT: this is an ember-cli addon