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 finding flickity css file #34

Open
JimSchofield opened this issue May 29, 2018 · 0 comments
Open

Not finding flickity css file #34

JimSchofield opened this issue May 29, 2018 · 0 comments

Comments

@JimSchofield
Copy link

I was running into this error after npm install flickity vue-flickity -save :

Failed to load src: "flickity/dist/flickity.css" from file: "/Users/jschofie/Dropbox/Work Projects/kohler-corporate/node_modules/vue-flickity/src/flickity.vue"
(node:14152) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'trim' of undefined while parsing file: /Users/jschofie/Dropbox/Work Projects/kohler-corporate/node_modules/vue-flickity/src/flickity.vue
    at /Users/jschofie/Dropbox/Work Projects/kohler-corporate/node_modules/vueify/lib/compiler.js:266:17
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:14152) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:14152) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Going into Flickity.vue and chaning the src attribute on the style tag to

<style src="../../flickity/css/flickity.css"></style>

seemed to address 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

1 participant