You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 (
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.
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/bootswatch/yeti/bootswatch.less 4:14-101 13:2-17:4 14:20-107Module 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);
}
@ ./
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.
The text was updated successfully, but these errors were encountered: