Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: fg.sync is not a function #96

Closed
chenrui333 opened this issue May 22, 2024 · 4 comments
Closed

TypeError: fg.sync is not a function #96

chenrui333 opened this issue May 22, 2024 · 4 comments

Comments

@chenrui333
Copy link

seeing some site build failure using latest sitemap-ts 1.7.2

1:02:48 PM: build error:
1:02:48 PM: fg.sync is not a function
1:02:48 PM: TypeError: fg.sync is not a function
1:02:48 PM:     at getRoutes (file:///opt/build/repo/node_modules/.pnpm/[email protected]/node_modules/sitemap-ts/dist/index.mjs:83:11)
1:02:48 PM:     at generateSitemap (file:///opt/build/repo/node_modules/.pnpm/[email protected]/node_modules/sitemap-ts/dist/index.mjs:132:18)
1:02:48 PM:     at Object.buildEnd (file:///opt/build/repo/runatlantis.io/.vitepress/config.ts.timestamp-1716397363039-ee4c35203ed95.mjs:219:5)
1:02:48 PM:     at build (file:///opt/build/repo/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]/node_modules/vitepress/dist/node/serve-BwR5EPUJ.js:46795:30)

image

relates to runatlantis/atlantis#4588

@jbaubree
Copy link
Owner

Hi, thanks for your report, i will work on it asap 👍

@jbaubree
Copy link
Owner

@chenrui333 Does v1.7.3 fixes this issue ?

@chenrui333
Copy link
Author

yeah, works for me, thanks! (I also switched to npm due to some plugin issue recently)

@chenrui333
Copy link
Author

thanks for the quick turnaround. <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants