Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Error: File to import not found or unreadable: ~bootstrap/scss/functions. #30

@TomLewis

Description

@TomLewis

Ahoy!
From ~ I used tnpm i @mojang/web-theme-bootstrap --save which created a node_modules folder, when I try and compile with Koala, I get this error;

Error: File to import not found or unreadable: ~bootstrap/scss/functions.
       Load path: /Users/tom/Documents/www/public/projects/minecraftbook/node_modules/scss
        on line 1 of /Users/tom/node_modules/@mojang/web-theme-bootstrap/scss/styles.scss
        from line 6 of /Users/tom/Documents/www/public/projects/minecraftbook/node_modules/scss/main.scss
  Use --trace for backtrace.

It looks like all paths are hard coded to the ~ root users directory?
Sorry this is my first time using SASS and first time trying to compile something from NPM, infant its the first time using NPM!

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