You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError: Cannot set property SitemapItemStream of #<Object> which has only a getter #4469
I just cloned the repo and ran npm install && npm run dev but I get the attached error below, I can't find information about this error on the repository
TypeError: Cannot set property SitemapItemStream of # which has only a getter
at Object. (C:\Github\developer-roadmap\node_modules\sitemap\dist\index.js:13:537)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object. (C:\Github\developer-roadmap\node_modules\sitemap\dist\lib\sitemap-simple.js:4:17)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
Node.js v20.6.0
Participation
I am willing to submit a pull request for this issue.
Activity
ausgomez commentedon Sep 12, 2023
this seems to be an issue with node 20.6.0 (current), can you try running it with LTS (18.17.1) ?
egeres commentedon Sep 12, 2023
Yep, node issue! The latest version
20.6.1fixed it!! nodejs/node#49500