continue icon indicating copy to clipboard operation
continue copied to clipboard

config.ts build fails with newest release

Open mjmaurer opened this issue 1 year ago • 13 comments

Before submitting your bug report

Relevant environment info

- OS: MacOS Sonoma 14.6 (M1 Pro)
- Continue: 0.8.45
- IDE: VSCode

Description

My previously-working config.ts has stopped working in the latest release. Rolling back to 0.8.44 fixes the issue.

The following message appears in VSCode web devtools:

Build error. Please check your ~/.continue/config.ts file: TypeError [ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING]: A dynamic import callback was not specified.

mainThreadExtensionService.ts:78 [Continue.continue]Parsing failed
mainThreadExtensionService.ts:79 Error: Parsing failed
	at _Parser.parse (vscode-file://vscode…tension.js:89161:81)
	at _ImportDefinitionsService._getFileInfo (vscode-file://vscode…tension.js:90067:28)
	at async PrecalculatedLruCache.initKey (vscode-file://vscode…tension.js:88017:25)

Not sure if this helps, but I noticed that none of the files in ~/.continue have been updated recently (with the exception of folders like index and sessions). Not sure if you attempt to manage those across releases somehow.

To reproduce

Attempt to load extension (via Reload Window, etc)

Log output

No response

mjmaurer avatar Aug 06 '24 22:08 mjmaurer