Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #3

Closed
FrancescoSaverioZuppichini opened this issue Feb 10, 2017 · 6 comments
Closed

Not working #3

FrancescoSaverioZuppichini opened this issue Feb 10, 2017 · 6 comments

Comments

@FrancescoSaverioZuppichini

I get this error

Uncaught Error: Cannot find module "flickity"
@drewjbartlett
Copy link
Owner

Did you run npm install vue-flickity --save? You can also try npm install flickity --save if need be.

@FrancescoSaverioZuppichini
Copy link
Author

Now it works, but is all bugged

@drewjbartlett
Copy link
Owner

Can you explain all bugged? I installed this twice yesterday and used it on two different sites with no errors so I'm curious to know what's going on with yours.

@ntnelson1s
Copy link

AHHH! Wanted to chime in here. Was stuck on an error forever where I could not resolve module when simply using "import Flickity from 'vue-flickity';". What fixed it was also installing the regular flickity dependency as you stated about.

@drewjbartlett
Copy link
Owner

That's so strange. It works fine on new projects for me without previously having flickity as a dependency. I just checked the package.json file and saw that vue and flickity are both in a as devDependencies. I wonder if switching them to dependencies will fix it. I'll give it a go as soon as I have a moment

@fvmedia
Copy link

fvmedia commented Feb 15, 2017

+1 I pulled the package, and just as a test, moving the dependancy up to a main dependancy and not dev does fix the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants