Skip to content

Error: EISDIR: File is a directory., '/node_modules/bootstrap/scss/mixins' (CodeSandbox / Bootstrap / VueJS) #19

Closed
@tigerblue77

Description

@tigerblue77

Hi everyone,

I'm a bit new to all of those web techs (CodeSandbox, Bootstrap and VueJS) but I learn fast. After doing a lot of research, I wanted to start my web platform project with this project template to have a good base and a good structure but I'm stuck with this error :

Cannot find module 'bootstrap/scss/mixins' from '/src/styles'

And when I look in the file containing the "import" directive :

Error: Error: EISDIR: File is a directory., '/node_modules/bootstrap/scss/mixins'
on line 10:9 of node_modules/bootstrap/scss/bootstrap.scss
from line 10:2 of /stdin
>> u/import "mixins";

I understand that "mixins" is a directory, okay, but it's the bootstrap code man... I cannot change it on codesandbox and after checking on bootstrap github's repository, it seems normal that "mixins" is a directory.

You can check the code sandbox here (no changes made, project just imported, modules not updated, I tried but it changed nothing). The file containing all import directives is src/styles/themes.scss direct link.

Thanks by advance for your help ! :)

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