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

Can't include Third-Party-Plugin with styles #850

Closed
ma-vo opened this issue Mar 29, 2017 · 2 comments
Closed

Can't include Third-Party-Plugin with styles #850

ma-vo opened this issue Mar 29, 2017 · 2 comments
Labels

Comments

@ma-vo
Copy link

ma-vo commented Mar 29, 2017

Description

  • Type: Question

Bug

D:\Users\marvonge\Documents\sandbox\reactGo\node_modules\react-calendar-timeline\modules\lib\Timeline.css:1
(function (exports, require, module, __filename, __dirname) { .react-calendar-timeline * {
^
SyntaxError: Unexpected token .
at createScript (vm.js:53:10)
at Object.runInThisContext (vm.js:95:10)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (D:\Users\marvonge\Documents\sandbox\reactGo\node_modules\react-calendar-timeline\modules\lib\Timeline.js:19:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (D:\Users\marvonge\Documents\sandbox\reactGo\node_modules\react-calendar-timeline\modules\index.js:7:17)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
[nodemon] app crashed - waiting for file changes before starting...

Steps to Reproduce

  • clone reactGo
  • include any third-party-plugin you want which has styles included
    Tested with react-calendar-timeline and react-visjs-timeline

Question

How to solve this issue?
Didn't change any webpack files.

@slavab89
Copy link
Member

slavab89 commented May 5, 2017

You might want to look at this namespace-ee/react-calendar-timeline#72
Basically this happens with libraries that dont use css modules. Happened to me as well with react-select.
#833

@slavab89
Copy link
Member

We're trying to clean up the project and close issues.
We havent heard back from you so i'll assume it was resolved.
In case you still have an issue, please comment here or open a new one.

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

No branches or pull requests

2 participants