Cannot find module './Autosuggest.vue'
See original GitHub issueHi!
I have some problem when try to include with the gulp and the browserify.
Error: Cannot find module './Autosuggest.vue' from '/var/www/withpassion/docker-projects/wesele123.local/html/node_modules/vue-autosuggest/dist'
at /var/www/withpassion/docker-projects/wesele123.local/html/node_modules/browser-resolve/node_modules/resolve/lib/async.js:55:21
at load (/var/www/withpassion/docker-projects/wesele123.local/html/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
at onex (/var/www/withpassion/docker-projects/wesele123.local/html/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
at /var/www/withpassion/docker-projects/wesele123.local/html/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:123:15)
Process finished with exit code 1
My run code
import VueAutosuggest from 'vue-autosuggest'
Any idea?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
vue-autosuggest - npm
Vue autosuggest component.. Latest version: 2.2.0, last published: 3 years ago. Start using vue-autosuggest in your project by running `npm ...
Read more >Could not find a declaration file for module 'vue-xxx'
I have tried 'vue-treeselect', 'vue-select', 'vue-multiselect' with more or less the same result (* those libraries don't allow import ...
Read more >Frequently asked questions — Vuetify
Error : Cannot find module 'node-sass'. Ensure that your @vue/cli-* packages located in package.json are at least ^3.5.0.
Read more >vue-autosuggest | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
Read more >error: cannot find module 'vue' - You.com | The AI Search ...
If not and you want to use the module from any directory, you need to install it globally using npm install -g. I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
VueAutosuggest is a plugin, so you will need to case
Vue.use()
to load it in your app so it can be used.Example:
I’ll update the README.md to make this more clear.
Yes. Good idea!
Thanks for help