Skip to content

Some examples broken under windows #117

@Hecatron

Description

@Hecatron

I'm not sure how many of the examples have actually been implemented yet (since some look like they might be placeholders)
but I tried all of them out under windows and noticed the vite / nuxt ones didn't run at least and I think they're supposed to
I think the first two are probably the most relevant

for nuxt, error:

 ERROR  Error while requiring module @pinceau/nuxt: SyntaxError: await is only valid in async functions and the top level bodies of modules

for vite-vue / vite-lib / vite-svelte, error:

failed to load config from D:\Temp\22\pinceau\examples\vite-vue\vite.config.ts
error when starting dev server:
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
    at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:236:11)
    at defaultLoad (node:internal/modules/esm/load:128:3)
    at ModuleLoader.load (node:internal/modules/esm/loader:409:13)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:56)
    at new ModuleJob (node:internal/modules/esm/module_job:65:26)
    at #createModuleJob (node:internal/modules/esm/loader:303:17)
    at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:260:34)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:241:17)
    at async ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:21)
 ELIFECYCLE  Command failed with exit code 1.

for sveltkit, error:

Internal server error: parsing D:/Temp/22/pinceau/examples/sveltekit/@pinceau/configs/tsconfig.base.json failed: Error: ENOENT: no such file or directory, open 'D:\Temp\22\pinceau\examples\sveltekit\@pinceau\configs\tsconfig.base.json'
  • astro - runs ok
  • astro-svelte - runs ok but says "Example Vue component"
  • astro-vue - runs ok
  • vite-preact - runs ok
  • vite-react - runs ok but with some question marks
  • vite-solid - runs ok

I figured it'd be best to mention given that it's in beta for 1.0

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