diff --git a/packages/noodl-editor/src/editor/src/utils/compilation/build/deploy-index.ts b/packages/noodl-editor/src/editor/src/utils/compilation/build/deploy-index.ts index 2967581..a573f6f 100644 --- a/packages/noodl-editor/src/editor/src/utils/compilation/build/deploy-index.ts +++ b/packages/noodl-editor/src/editor/src/utils/compilation/build/deploy-index.ts @@ -67,6 +67,14 @@ async function _writeFileToFolder({ runtimeType }: WriteFileToFolderArgs) { const fullPath = filesystem.join(getExternalFolderPath(), runtimeType, url); + + if (!filesystem.exists(fullPath)) { + // TODO: Save this warning somewhere, usually, this is not an issue though. + // This occurred because building in dev mode does not create the source map + // files which it expects to copy over. + return; + } + let content = await filesystem.readFile(fullPath); let filename = url;