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

Cannot find cssify #46

Open
bmordan opened this issue Nov 23, 2016 · 4 comments
Open

Cannot find cssify #46

bmordan opened this issue Nov 23, 2016 · 4 comments

Comments

@bmordan
Copy link

bmordan commented Nov 23, 2016

Error: Cannot find module 'cssify' from '/Code/mysite/front-end/node_modules/react-spinkit'

@KyleAMathews
Copy link
Owner

I'll assume you're using Browserify — in which case you need to add "cssify" for react-spinkit to work as it requires its own CSS.

@kevinguard
Copy link

I had the same issue and despite installing cssify, I now hit a different issue:
/Users/project/node_modules/loaders.css/loaders.css:14 @-webkit-keyframes scale { ^ ParseError: Unexpected character '@'
I suspect it has something to do with webpack and css-loader. I use gulp instead of webpack and that's why I am getting this issue. I suspect @bmordan is using something other than webpack. Just wondering!

@Gashik209
Copy link

Gashik209 commented Jan 25, 2018

I had the same issue with webpack and css-loader:
...\node_modules\loaders.css\loaders.css:14 @-webkit-keyframes scale { ^ SyntaxError: Invalid or unexpected token

Fixed by set process.env.REACT_SPINKIT_NO_STYLES

@CWolfAnderson
Copy link

CWolfAnderson commented Jun 21, 2018

{
      test: /\.css$/,    
      loaders: ['style-loader', 'css-loader'],
      include: /node_modules/
}

including node_modules solved it for me

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

5 participants