Skip to content

--features=regenerate-css does not work on nightly (Windows 10) #342

Closed
@projektir

Description

@projektir

mdBook uses custom Rust code to detect the presence of packages stylus and nib. From what I can see, it expects to see files stylus.cmd and nib.cmd. While stylus.cmd is created when installing these packages, nib.cmd is not, so the command cargo build --features=regenerate-css does not work and insists that nib is not installed.

I've attempted installing the packages in different order, reinstalling these packages, fiddling with PATH, reinstalling Node, running everything as Administrator and not, etc. None of these actions have produced a nib.cmd file in my C:\Users\<username>\AppData\Roaming\npm folder.

Operating System: Windows 10
Node version: 6.11.0
npm -g list: https://gist.github.com/projektir/96825837c67028eea7d857a7dfb338f8

Is there any kind of workaround for this? Is there some way to force Node to provide me with the requested .cmd files? I don't know how to move past this and therefore work with CSS, which blocks #247.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions