creativetimofficial/paper-kit-react

Error: Can't resolve './fonts/nucleo-icons.eot' in '/project_folder/client/src/assets/scss'

AGSTRANGER opened this issue · 1 comments

Hello everyone,
I have been working with your template for quite a while now.
I have recently added a collaborator to work with me on it.
But, when he cloned the repo, he kept getting this error:

Failed to compile.
./src/assets/scss/paper-kit.scss (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-6-3!./node_modules/sass-loader/dist/cjs.js??ref--5-oneOf-6-4!./src/assets/scss/paper-kit.scss)
Error: Can't resolve './fonts/nucleo-icons.eot' in '/project_folder/client/src/assets/scss'

This is the node-sass version in package.json:
"node-sass": "4.12.0"
The node version is:
v15.11.0
NOTE: Everything works fine on my local computer. It's the exact same code. The only difference is that my node version is:
v15.8.0

I have asked him to change the node version to the one I have and he is still facing the same issue.

SOLVED:
He solved this by changing the url path that leads to ./fonts/nucleo-icons.eot in _nucleo-icons.scss and _nucleo-outline.scss according to the project structure.

@AGSTRANGER this issue was automatically closed because it did not follow our rules:

IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/paper-kit-react

**If your issue was not created using the app above, it will be closed immediately.**



Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com