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 know Windows is not fully supported however this node error may be prevented by using file:// on Windows
Reproduce:
Use Windows System
Use a onSuccess Callback
exportdefaultmakeSource({onExtraFieldData: 'ignore',contentDirPath: 'mdx',/* ^^^^^^^ Directory with the Markdown files. */documentTypes: [Post,Rezept],onSuccess: async(importData)=>{const{allDocuments}=awaitimportData()console.log('allDocuments',allDocuments.length)},})
Error in Console
successCallback F:/Projekte/contentlayer-test/.contentlayer
SuccessCallbackError: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file and data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'f:'
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I know Windows is not fully supported however this node error may be prevented by using
file://
on WindowsReproduce:
The text was updated successfully, but these errors were encountered: