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

Error when trying to import bootswatch theme #606

Closed
Rajiv-Kulkarni opened this issue Dec 13, 2016 · 1 comment
Closed

Error when trying to import bootswatch theme #606

Rajiv-Kulkarni opened this issue Dec 13, 2016 · 1 comment
Labels

Comments

@Rajiv-Kulkarni
Copy link

I am trying to use the react-slingshot starter and getting this error after npm start:
ERROR in .//css-loader!.//less-loader!.//bootswatch/yeti/bootswatch.less
Module build failed: .box-shadow is undefined
@ C:\ReactJS\react-slingshot-master\react-slingshot-master\node_modules\bootswatch\yeti\bootswatch.less (line 25, column 4)
near lines:
border-top-color: @dropdown-divider-bg;
.box-shadow(none);
}
@ ./
/bootswatch/yeti/bootswatch.less 4:14-101 13:2-17:4 14:20-107
Child html-webpack-plugin for "index.html":

My About page in the demo app looks like this:
import React from 'react';
import {Link} from 'react-router';
import '../../node_modules/bootstrap/less/bootstrap.less';
import '../../node_modules/bootswatch/yeti/variables.less';
import '../../node_modules/bootswatch/yeti/bootswatch.less';

import '../styles/about-page.css';

// Since this component is simple and static, there's no parent container for it.
const AboutPage = () => {
return (


About



This example app is part of the React-Slingshot
starter kit
.



Click this bad link to see the 404 page.



);
};

export default AboutPage;

Am I doing anything wrong here?

Thanks for any help.

@stale
Copy link

stale bot commented Apr 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 13, 2018
@stale stale bot closed this as completed Apr 20, 2018
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

1 participant