diff --git a/cli/src/api/load-wasi-template.ts b/cli/src/api/load-wasi-template.ts index e7239fdb..32958348 100644 --- a/cli/src/api/load-wasi-template.ts +++ b/cli/src/api/load-wasi-template.ts @@ -16,6 +16,7 @@ import { instantiateNapiModule as __emnapiInstantiateNapiModule } from '@emnapi/ import { getDefaultContext as __emnapiGetDefaultContext } from '@emnapi/runtime' const __wasi = new __nodeWASI({ + version: 'preview1', env: process.env, preopens: { '/': __nodePath.join(__nodeURL.fileURLToPath(import.meta.url), '..'),