-
Notifications
You must be signed in to change notification settings - Fork 366
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: Can't resolve '../../../../node_modules/now-ui-kit/assets/scss/fonts/nucleo-outline.eot' #96
Comments
Hi, @ewirth! Thank you for using our products. Please open an issue on the right repo https://github.com/creativetimofficial/ct-now-ui-dashboard-pro-react/issues. Regards, |
here's how I resolved it. It's a loader issue. Add next.config.js file // next.config.js const withPlugins = require("next-compose-plugins"); module.exports = withFonts( "@zeit/next-css": "^1.0.1", |
Hi,
I am using
v1.3.0
and building my styles importing thescss
with webpack.The build fails with the error in the title:
I believe the issue is in
/assets/scss/now-ui-kit_nucleo-outline.scss
when importing the fonts; they are innode_modules/now-ui-kit/assets/fonts
but the code points to
node_modules/now-ui-kit/assets/scss/fonts
with a wrong relative path.
My current workaround is copying the
scss
andfonts
folders and building using those local files (instead fromnode_modules
), after moving thefonts
folder inside thescss
one.The text was updated successfully, but these errors were encountered: