Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Histoire (Vite based) #20606

Open
birkskyum opened this issue Sep 21, 2023 · 3 comments
Open

Support Histoire (Vite based) #20606

birkskyum opened this issue Sep 21, 2023 · 3 comments
Labels
bug Something isn't working correctly node compat

Comments

@birkskyum
Copy link
Contributor

birkskyum commented Sep 21, 2023

Histoire - GitHub - Website

Platform

Darwin 22.6.0 arm64 arm

Version

deno 1.37.0

Repro

Expected

Histoire dev server start

Actual

➜ deno task story:dev
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
Task story:dev histoire dev
Error while loading /Users/admin/repos/histoire-vue3-starter/histoire.config.ts
error: Uncaught (in promise) NotFound: No such file or directory (os error 2): readfile 'module'
    at Object.readFileSync (ext:deno_fs/30_fs.js:702:14)
    at readFileSync (ext:deno_node/_fs/_fs_readFile.ts:45:21)
    at jiti (file:///Users/admin/repos/histoire-vue3-starter/node_modules/.deno/jiti@1.19.3/node_modules/jiti/dist/jiti.js:1:253424)
    at data::2:19
    at data::6:4
    at evalModule (file:///Users/admin/repos/histoire-vue3-starter/node_modules/.deno/jiti@1.19.3/node_modules/jiti/dist/jiti.js:1:255456)
    at jiti (file:///Users/admin/repos/histoire-vue3-starter/node_modules/.deno/jiti@1.19.3/node_modules/jiti/dist/jiti.js:1:253384)
@birkskyum birkskyum changed the title Support Histoire Support Histoire (Vite based) Sep 21, 2023
@bartlomieju bartlomieju added bug Something isn't working correctly node compat labels Sep 22, 2023
@birkskyum
Copy link
Contributor Author

birkskyum commented Jun 14, 2024

With 1.44.2 this now breaks on:

➜ DENO_FUTURE=1 deno task story:dev
Task story:dev histoire dev
Error while loading histoire.config.ts
error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'env')

@birkskyum
Copy link
Contributor Author

birkskyum commented Sep 15, 2024

just seeing a gray screen now, with the 2.0 rc.2

@birkskyum
Copy link
Contributor Author

Trying to build the whole install/build the whole histoire repo, and hit this again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

No branches or pull requests

2 participants