Skip to content

Less Import Error During Deploy #32

@chrishearn

Description

@chrishearn

Firstly, thanks very much for your work on this project!

When running ‘npm run mup-deploy’ the following error was appearing during the app build/bundling part of the process:

Building App Bundle Locally
local:jobs: updating npm dependencies -- aws-sdk...
local:kadira-data: updating npm dependencies -- lru-cache...
Errors prevented bundling:
While processing files with less (for target web.browser):
client/0config/bootstrap/custom.bootstrap.import.less:6: Unknown import:
custom.bootstrap.mixins.import.less

I managed to fix the problem by editing the "/client/0config/bootstrap/custom.bootstrap.import.less" file and change this line:

@import "custom.bootstrap.mixins.import.less";

to

@import "{}/client/0config/bootstrap/custom.bootstrap.mixins.import.less";

Nemo64/meteor-bootstrap#64 pointed me in the right direction for the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions