<Alterion.Dev>
<Alterion.Dev>
Explore posts from servers
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
yeah my bad on that one 😄
25 replies
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
Yep, unocss was the template used. Sorry I thought it was actually showing in the log but I guess it didn't because that's the create-solid part not the cloudflare part?
25 replies
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
So, we had that one npm folder that doesn't exist in windows 10 (the first error didn't appear in windows 11), and we had that the missing vite plugin config. I got all the way to deploying, https://alterion-dev.pages.dev/ , works A-OK :AUthumbsup:
25 replies
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
No description
25 replies
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
I'll also point out that this exact error/warning on two different machines - my home machine on Windows 10 + Node 20, and also my work machine which is Windows 11, but defaults to node 18.16.1
25 replies
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
No description
25 replies
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
I dunno how to proceed here and I'm tired and annoyed, and this isn't a solid-start project like I wanted, so I'm going to let this go until tomorrow.
25 replies
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
It ended up creating the project but finished with this
> build
> vinxi build

vinxi v0.3.11


⚙ Building your app...


📦 Compiling ssr router...
vinxi building router ssr in http mode
vite v5.2.11 building SSR bundle for production...
transforming...
✓ 37 modules transformed.
x Build failed in 648ms

ERROR [vite]: Rollup failed to resolve import "virtual:uno.css" from "E:/cf-projects/alterion-dev/src/app.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external

This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
at viteWarn (/E:/cf-projects/alterion-dev/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:67612:27)
at onRollupWarning (/E:/cf-projects/alterion-dev/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:67640:9)
at onwarn (/E:/cf-projects/alterion-dev/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:67356:13)
at /E:/cf-projects/alterion-dev/node_modules/rollup/dist/es/shared/node-entry.js:18514:13
at Object.logger [as onLog] (/E:/cf-projects/alterion-dev/node_modules/rollup/dist/es/shared/node-entry.js:20162:9)
at ModuleLoader.handleInvalidResolvedId (/E:/cf-projects/alterion-dev/node_modules/rollup/dist/es/shared/node-entry.js:19104:26)
at /E:/cf-projects/alterion-dev/node_modules/rollup/dist/es/shared/node-entry.js:19062:26



ERROR [vite]: Rollup failed to resolve import "virtual:uno.css" from "E:/cf-projects/alterion-dev/src/app.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external


npm ERR! code 1
npm ERR! path E:\cf-projects
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-cloudflare

npm ERR! A complete log of this run can be found in: C:\Users\eslac\AppData\Local\npm-cache\_logs\2024-05-28T03_01_20_972Z-debug-0.log
PS E:\cf-projects>
> build
> vinxi build

vinxi v0.3.11


⚙ Building your app...


📦 Compiling ssr router...
vinxi building router ssr in http mode
vite v5.2.11 building SSR bundle for production...
transforming...
✓ 37 modules transformed.
x Build failed in 648ms

ERROR [vite]: Rollup failed to resolve import "virtual:uno.css" from "E:/cf-projects/alterion-dev/src/app.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external

This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
at viteWarn (/E:/cf-projects/alterion-dev/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:67612:27)
at onRollupWarning (/E:/cf-projects/alterion-dev/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:67640:9)
at onwarn (/E:/cf-projects/alterion-dev/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:67356:13)
at /E:/cf-projects/alterion-dev/node_modules/rollup/dist/es/shared/node-entry.js:18514:13
at Object.logger [as onLog] (/E:/cf-projects/alterion-dev/node_modules/rollup/dist/es/shared/node-entry.js:20162:9)
at ModuleLoader.handleInvalidResolvedId (/E:/cf-projects/alterion-dev/node_modules/rollup/dist/es/shared/node-entry.js:19104:26)
at /E:/cf-projects/alterion-dev/node_modules/rollup/dist/es/shared/node-entry.js:19062:26



ERROR [vite]: Rollup failed to resolve import "virtual:uno.css" from "E:/cf-projects/alterion-dev/src/app.tsx".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external


npm ERR! code 1
npm ERR! path E:\cf-projects
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-cloudflare

npm ERR! A complete log of this run can be found in: C:\Users\eslac\AppData\Local\npm-cache\_logs\2024-05-28T03_01_20_972Z-debug-0.log
PS E:\cf-projects>
25 replies
CDCloudflare Developers
Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
note: creating that folder (C:\Users\eslac\AppData\Roaming\) does work... but... why does it need to exist? it shouldn't be necessary.
25 replies