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
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.
The text was updated successfully, but these errors were encountered:
What is the URL where the issue is happening
None
What browsers are you seeing the problem on?
No response
Describe the Bug
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 repositoryOutput from browser console (if any)
λ npm run dev
C:\Github\developer-roadmap\node_modules\sitemap\dist\index.js:13
exports.simpleSitemapAndIndex = exports.IndexObjectStreamToJSON = exports.XMLToSitemapIndexStream = exports.parseSitemapIndex = exports.ObjectStreamToJSON = exports.XMLToSitemapItemStream = exports.parseSitemap = exports.xmlLint = exports.ReadlineStream = exports.normalizeURL = exports.validateSMIOptions = exports.mergeStreams = exports.lineSeparatedURLsToSitemapOptions = exports.SitemapStream = exports.streamToPromise = exports.SitemapAndIndexStream = exports.SitemapIndexStream = exports.IndexTagNames = exports.SitemapItemStream = void 0;
^
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
The text was updated successfully, but these errors were encountered: