Skip to content

Can't make it work with Vike #802

Description

@brillout

Describe the bug

Hi, I'm a maintainer of Vike and we're trying to make Histoire work with Vike, but without success so far. It seems there are some issues on Histoire's side?

Reproduction: https://github.com/brillout/vike-histoire-build-minimal-reproduction.

Note that the reproduction patches Vike to remove its output.entryFileNames usage. Thus the following issue doesn't seem to be caused by Vike:

Invalid substitution "/home/rom/tmp/vike-histoire-build-minimal-reproduction/node_modules/.pnpm/@histoire_app@1.0.0-alpha.2_vite@6.3.5_@types_node@20.19.9_jiti@2.4.2_tsx@4.20.3_/node_modules/@histoire/app/dist/bundle-main.js" for placeholder "[name]" in "output.entryFileNames" pattern, can be neither absolute nor relative path.

Reproduction

https://github.com/brillout/vike-histoire-build-minimal-reproduction

System Info

System:
    OS: Linux 6.8 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
    CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
    Memory: 3.64 GB / 7.52 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
    Yarn: 1.22.22 - ~/.nix-profile/bin/yarn
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
    pnpm: 9.15.9 - ~/.local/share/pnpm/pnpm
    bun: 1.1.24 - ~/.bun/bin/bun
    Watchman: 2024.03.11.00 - /home/rom/.nix-profile/bin/watchman
  Browsers:
    Chrome: 138.0.7204.157
  npmPackages:
    @histoire/plugin-vue: ^1.0.0-alpha.2 => 1.0.0-alpha.2 
    @vitejs/plugin-vue: ^6.0.0 => 6.0.0 
    histoire: ^1.0.0-alpha.2 => 1.0.0-alpha.2 
    vite: ^6.3.5 => 6.3.5

Used Package Manager

pnpm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    to triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions