Bliss

Results 13 comments of Bliss

experienced the same thing several months ago with a fresh kasm deployment on a physical machine using official instructions.

* tried using `npm install` instead of `bun add` * tried deleting `node_modules`, `package-lock.json`, and `bun.lock` then reinstalling dependencies * tried installing `@ktibow/material-color-utilities-nightly` * tried adding `m3-svelte` into Vite's `optimizeDeps.exclude`...

Same error as simply downgrading `m3-svelte` ``` ✘ [ERROR] No matching export in "node_modules/@ktibow/material-color-utilities-nightly/index.js" for import "ContrastCurve" node_modules/m3-svelte/package/misc/colors.js:1:46: 1 │ ...amicColors, DynamicColor, ContrastCurve, } from "@ktibow/materia... ╵ ~~~~~~~~~~~~~ ``` in...

Tried to patch it myself but to no avail ```diff - import { MaterialDynamicColors, DynamicColor, ContrastCurve, } from "@ktibow/material-color-utilities-nightly"; + import { MaterialDynamicColors, DynamicColor } from "@ktibow/material-color-utilities-nightly"; + import {...

~~The issue is that you forgot to export ContrastCurve~~ ```diff export * from './dynamiccolor/dynamic_scheme.js'; + export * from './dynamiccolor/contrast_curve.js'; export * from './dynamiccolor/material_dynamic_colors.js'; ```

~~gonna make a pr~~

nevermind it throws the same error once visiting ``` Cannot find module 'node_modules/@ktibow/material-color-utilities-nightly/dynamiccolor/dynamic_scheme' imported from node_modules/@ktibow/material-color-utilities-nightly/scheme/scheme_fidelity.js ``` using `--force` has no effect

Minimal repro: 1. Scaffold an empty project using `bunx sv create` (or use `npx` or `pnpx` or whatever you use) 2. Install `m3-svelte` using *a* package manager 3. Go into...

Here's a GitHub repository https://github.com/xpbl/m3-svelte-170-repro

Hm. It could be my local environment. Let me try reinstalling Bun.