waku: Creating a new project fails

Try to create a new project using npm create waku@latest.

Observed result:

PS C:\demos> npm create waku@latest
'create-waku' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code 1
npm ERR! path C:\demos
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c create-waku

npm ERR! A complete log of this run can be found in: C:\Users\mauri\AppData\Local\npm-cache\_logs\2023-11-16T12_43_09_734Z-debug-0.log
PS C:\demos>

Content of the log file created:

0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\mauri\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
1 info using npm@10.2.4
2 info using node@v20.9.0
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Users\mauri\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 3ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:C:\demos\.npmrc Completed in 1ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:C:\Users\mauri\.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:C:\Users\mauri\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 10ms
17 timing npm:load:configload Completed in 10ms
18 timing config:load:flatten Completed in 2ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 1ms
21 verbose title npm create waku@latest
22 verbose argv "create" "waku@latest"
23 timing npm:load:setTitle Completed in 0ms
24 timing npm:load:display Completed in 1ms
25 verbose logfile logs-max:10 dir:C:\Users\mauri\AppData\Local\npm-cache\_logs\2023-11-16T12_43_09_734Z-
26 verbose logfile C:\Users\mauri\AppData\Local\npm-cache\_logs\2023-11-16T12_43_09_734Z-debug-0.log
27 timing npm:load:logFile Completed in 21ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 57ms
31 silly logfile start cleaning logs, removing 2 files
32 timing arborist:ctor Completed in 0ms
33 silly logfile done cleaning log files
34 http fetch GET 200 https://registry.npmjs.org/create-waku 420ms (cache revalidated)
35 timing arborist:ctor Completed in 1ms
36 timing arborist:ctor Completed in 0ms
37 timing command:create Completed in 484ms
38 verbose stack Error: command failed
38 verbose stack     at ChildProcess.<anonymous> (C:\Users\mauri\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:53:27)
38 verbose stack     at ChildProcess.emit (node:events:514:28)
38 verbose stack     at maybeClose (node:internal/child_process:1105:16)
38 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
39 verbose cwd C:\demos
40 verbose Windows_NT 10.0.22621
41 verbose node v20.9.0
42 verbose npm  v10.2.4
43 error code 1
44 error path C:\demos
45 error command failed
46 error command C:\WINDOWS\system32\cmd.exe /d /s /c create-waku
47 verbose exit 1
48 timing npm Completed in 788ms
49 verbose code 1
50 error A complete log of this run can be found in: C:\Users\mauri\AppData\Local\npm-cache\_logs\2023-11-16T12_43_09_734Z-debug-0.log

Environment:

PS C:\demos> node -v
v20.9.0
PS C:\demos> npm -v
10.2.4
PS C:\demos> winver
PS C:\demos> systeminfo

Host Name:                 DESKTOP-GVQ1HCA
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          maurice.de.beijer@gmail.com
Registered Organization:   N/A
Product ID:                00330-80137-56147-AA921
Original Install Date:     12-4-2023, 21:01:18
System Boot Time:          16-11-2023, 10:35:56
System Manufacturer:       MEDION
System Model:              X87047
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 158 Stepping 13 GenuineIntel ~3000 Mhz
BIOS Version:              American Megatrends Inc. 360H4W0X.115, 17-6-2019
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume3
System Locale:             en-gb;English (United Kingdom)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Total Physical Memory:     16.308 MB
Available Physical Memory: 7.385 MB
Virtual Memory: Max Size:  22.196 MB
Virtual Memory: Available: 8.907 MB
Virtual Memory: In Use:    13.289 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\DESKTOP-GVQ1HCA
Hotfix(s):                 5 Hotfix(s) Installed.
                           [01]: KB5032007
                           [02]: KB5012170
                           [03]: KB5032190
                           [04]: KB5031592
                           [05]: KB5032393
Network Card(s):           2 NIC(s) Installed.
                           [01]: TAP-Windows Adapter V9
                                 Connection Name: Ethernet 2
                                 Status:          Media disconnected
                           [02]: Realtek PCIe GbE Family Controller
                                 Connection Name: Ethernet
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.178.1
                                 IP address(es)
                                 [01]: 192.168.178.222
                                 [02]: fe80::cb6:d9e2:cc42:e3fd
                                 [03]: 2001:1c00:201b:a900:398f:5f81:5ccb:c599
                                 [04]: 2001:1c00:201b:a900:ebb6:8f1a:d197:dcd7
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 17 (13 by maintainers)

Most upvoted comments

I tried on two different Node versions and both failed but in a different way. Files two issues just to keep them separate. #172 and #173

PS also tried cloning the whole Waku repo and but both npm i and pnpm i failed.

I did a quick test generating a new project and that worked. Didn’t actually start it. Will give that a try later and let you know if I run into issues.

Op di 21 nov. 2023 00:57 schreef Daishi Kato @.***>:

I’m curious if it works on Windows though. Feel free to open a new issue if found.

— Reply to this email directly, view it on GitHub https://github.com/dai-shi/waku/issues/167#issuecomment-1819995770, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYMWIXY3KHIUHYYIW4UBILYFPVANAVCNFSM6AAAAAA7ODGYXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJZHE4TKNZXGA . You are receiving this because you authored the thread.Message ID: @.***>

create-waku v0.6.2 is published.