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

Unexpected token: error on Meteor #42

Open
jpmelnik opened this issue Sep 22, 2016 · 1 comment
Open

Unexpected token: error on Meteor #42

jpmelnik opened this issue Sep 22, 2016 · 1 comment

Comments

@jpmelnik
Copy link

W20160922-18:00:40.062(-3)? (STDERR) /home/user/projects/name/name/node_modules/react-spinkit/css/fade-in.css:1 W20160922-18:00:40.255(-3)? (STDERR) (function (exports, require, module, __filename, __dirname) { @-webkit-keyframes fade-in { W20160922-18:00:40.257(-3)? (STDERR) ^ W20160922-18:00:40.258(-3)? (STDERR) W20160922-18:00:40.258(-3)? (STDERR) SyntaxError: Unexpected token ILLEGAL W20160922-18:00:40.259(-3)? (STDERR) at exports.runInThisContext (vm.js:53:16) W20160922-18:00:40.259(-3)? (STDERR) at Module._compile (module.js:373:25) W20160922-18:00:40.261(-3)? (STDERR) at Object.Module._extensions..js (module.js:416:10) W20160922-18:00:40.263(-3)? (STDERR) at Module.load (module.js:343:32) W20160922-18:00:40.264(-3)? (STDERR) at Module.Mp.load (/root/.meteor/packages/babel-compiler/.6.9.1.qmu614++os+web.browser+web.cordova/npm/node_modules/reify/node/runtime.js:16:23) W20160922-18:00:40.265(-3)? (STDERR) at Function.Module._load (module.js:300:12) W20160922-18:00:40.266(-3)? (STDERR) at Module.require (module.js:353:17) W20160922-18:00:40.268(-3)? (STDERR) at require (internal/module.js:12:17) W20160922-18:00:40.270(-3)? (STDERR) at Object.<anonymous> (/home/username/projects/name/name/node_modules/react-spinkit/dist/index.js:19:1) W20160922-18:00:40.271(-3)? (STDERR) at Module._compile (module.js:409:26)

@KyleAMathews
Copy link
Owner

react-spinkit requires its own css. It looks like support for this is added in Meteor 1.3 http://stackoverflow.com/questions/34553267/how-to-require-css-file-using-npm-and-meteor

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

2 participants