You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
Unable to use vue-carousel as a local package using yarn link. The following warnings are produced:
➜ ryu-carousel-cli git:(master) ✗ yarn serve
yarn run v1.10.1
$ vue-cli-service serve
INFO Starting development server...
98% after emitting CopyPlugin
WARNING Compiled with 2 warnings 12:29:37 AM
warning in ./src/App.vue?vue&type=script&lang=js&
"export 'Carousel' was not found in 'vue-carousel'
warning in ./src/App.vue?vue&type=script&lang=js&
"export 'Slide' was not found in 'vue-carousel'
Hey @rkomiyama, yarn has an open issue that's likely effecting this. I can recreate your issue on my local if I use yarn link, but it works fine if instead I point to my local directory with node_modules installed in my package json (i.e vue-carousel: link: ../path/to/vue-carousel)
Since it's likely that this is an issue on yarns end, I'll close this. Feel free to reopen of make a comment here if you feel otherwise!
@quinnlangille I'm still getting the same warnings even with npm link. There might be an issue with vue create, but I'm not sure how relevant it is to this issue (vuejs/vue-cli#1494).
Edit: I just tried it using vue init and that seemed to work.
Bug Report
Current Behavior
Unable to use vue-carousel as a local package using
yarn link
. The following warnings are produced:Input Code and steps to reproduce
App.js
Expected behavior/code
Doing a
yarn link
should allow me to usevue-carousel
in a local project.Babel Configuration (.babelrc, package.json, cli command)
Environment
The text was updated successfully, but these errors were encountered: