This is the download from the log file:
21 verbose argv “exec” “–” “create-strapi-app” “ERPBA”
33 silly logfile done cleaning log files
34 http fetch GET 200 https://registry.npmjs.org/create-strapi-app 652ms (cache revalidated)
35 timing arborist:ctor Completed in 0ms
36 timing command:exec Completed in 703ms
37 verbose stack RangeError: Maximum call stack size exceeded
37 verbose stack at resolve (node:path:162:10)
37 verbose stack at realpathCached (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\arborist\lib\realpath.js:18:10)
37 verbose stack at realpathCached (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\arborist\lib\realpath.js:38:10)
38 verbose cwd D:\erpba
39 verbose Windows_NT 10.0.19044
40 verbose node v19.9.0
41 verbose npm v9.6.3
42 error Maximum call stack size exceeded
43 verbose exit 1
44 timing npm Completed in 761ms
45 verbose code 1
It seems realpath.js is recurring. I deleted the node_modules folder from under the Program Files, and installed an earlier version of Node.js.
Also tried cleaning cache en did Npm install. Cutting out the file realpath only results in npm install cannot find realpath anymore.
Does someone have an idea what the problem is?
This topic has been created from a Discord post (1248290570737156157) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
You are using an unsupported version of node: node v19.9.0
We only support Node LTS release so either Node 18 or Node 20
I have installed Node v20.14.0. still get this error, also with the same message
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@10.7.0
2 info using node@v20.14.0
3 silly config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc
4 silly config:load:file:D:.npmrc
5 silly config:load:file:C:\Users\ikeereweer.NEDCOFS3.npmrc
6 silly config:load:file:\Nedco-DC1\Profile\ikeereweer\Application Data\npm\etc\npmrc
7 verbose title npm exec create-strapi-app@latest ERPBA
8 verbose argv “exec” “–” “create-strapi-app@latest” “ERPBA”
9 verbose logfile logs-max:10 dir:C:\Users\ikeereweer.NEDCOFS3\AppData\Local\npm-cache_logs\2024-06-07T10_54_51_144Z-
10 verbose logfile C:\Users\ikeereweer.NEDCOFS3\AppData\Local\npm-cache_logs\2024-06-07T10_54_51_144Z-debug-0.log
11 silly logfile start cleaning logs, removing 2 files
12 silly logfile done cleaning log files
13 http fetch GET 200 https://registry.npmjs.org/create-strapi-app 234ms (cache updated)
14 verbose stack RangeError: Maximum call stack size exceeded
14 verbose stack at resolve (node:path:162:10)
14 verbose stack at realpathCached (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\arborist\lib\realpath.js:18:10)
14 verbose stack at realpathCached (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\arborist\lib\realpath.js:38:10)
15 verbose cwd D:\ERPBA
16 verbose Windows_NT 10.0.19044
17 verbose node v20.14.0
18 verbose npm v10.7.0
19 error Maximum call stack size exceeded
when you install the node js , you get a bunch of node-modules installed on your system. C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\arborist\lib\realpath.js:18:10)
14 verbose stack at realpathCached (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\arborist\lib\realpath.js:38:10). Is something wrong with the realpath.js? because the return object is the same as the const component?
In the comments of the file realpath.js you can read that the programmer sais its an improvement on the standard fs.realpath file that standard comes with node.js. So I changed the line of code in the realpath.js where its returning the result path to a name different than the calling component. Now at last the installation of Strapi went on 