Skip to content

Error: Can't resolve '../../../../node_modules/now-ui-kit/assets/scss/fonts/nucleo-outline.eot'  #96

@stebogit

Description

@stebogit

Hi,
I am using v1.3.0 and building my styles importing the scss with webpack.

The build fails with the error in the title:

Module build failed (from ./node_modules/css-loader/index.js):
ModuleNotFoundError: Module not found: Error: Can't resolve '../../../../node_modules/now-ui-kit/assets/scss/fonts/nucleo-outline.eot'

I believe the issue is in /assets/scss/now-ui-kit_nucleo-outline.scss when importing the fonts; they are in
node_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 and fonts folders and building using those local files (instead from node_modules), after moving the fonts folder inside the scss one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions