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

Some examples broken under windows #117

Open
Hecatron opened this issue Dec 31, 2023 · 0 comments
Open

Some examples broken under windows #117

Hecatron opened this issue Dec 31, 2023 · 0 comments

Comments

@Hecatron
Copy link
Contributor

Hecatron commented Dec 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant