Open appurist opened 2 hours ago
An attempt to run nue create simple-blog produces an error on Windows.
nue create simple-blog
In my case, I get the following output:
PS C:\dev\nue> nue create simple-blog ✓ Nue 0.5.3 • Bun 1.1.34 ✓ Initialize ./.dist/dev: •••••ENOENT: No such file or directory errno: -2 syscall: "copyfile" path: "C:/Users/paul/AppData/Local/pnpm/global/5/.pnpm/nue-glow@0.2.1/node_modules/nue-glow/minified/glow.css"
Running it a second time produces this output:
PS C:\dev\nue> nue create simple-blog ✓ Nue 0.5.3 • Bun 1.1.34 ✓ Building site to: ./.dist/dev Time taken: 1ms
With a new project name:
PS C:\dev\nue> nue create simple-blog2 ✓ Nue 0.5.3 • Bun 1.1.34 ✓ Building site to: ./.dist/dev Time taken: 1ms
Running it under CMD.EXE rather than PowerShell produces the same output (does not seem to be PS-specific).
If I ls the current folder, it only contains a .dist folder with .dist/dev/@nue folders with:
ls
.dist
.dist/dev/@nue
PS C:\dev\nue> ls .dist/dev/@nue Directory: C:\dev\nue\.dist\dev\@nue Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 2024-11-15 1:58 PM 0 .043 -a--- 2024-11-15 1:58 PM 1703 app-router.js -a--- 2024-11-15 1:58 PM 2345 mount.js -a--- 2024-11-15 1:58 PM 10870 nue.js -a--- 2024-11-15 1:58 PM 676 nuemark.js -a--- 2024-11-15 1:58 PM 3368 page-router.js
FYI, I successfully ran the same command from a Mac zsh prompt. No troubles there.
I can assist further if you don't have access to a Windows machine.
Describe the Bug
An attempt to run
nue create simple-blog
produces an error on Windows.Environment
Minimal Reproduction
nue create simple-blog
on Windows 11Logs & Additional Context
In my case, I get the following output:
Running it a second time produces this output:
With a new project name:
Running it under CMD.EXE rather than PowerShell produces the same output (does not seem to be PS-specific).
If I
ls
the current folder, it only contains a.dist
folder with.dist/dev/@nue
folders with: