julian vargas
julian vargas4w ago

error on new Fresh deno project: error: unexpected argument '--allow-import' found

when i create a new Fresh project following the documentation i found this error : error: unexpected argument '--allow-import' found tip: to pass '--allow-import' as a value, use '-- --allow-import' Usage: deno info --json [file] ✘ [ERROR] Failed to call 'deno info' on 'data:application/javascript,import%20%22https%3A%2F%2Fdeno.land%2Fx%2Ffresh%401.7.3%2Fsrc%2Fruntime%2Fentrypoints%2Fdeserializer.ts%22%3Bimport%20%22file%3A%2F%2F%2FUsers%2Fjulian%2Fdevelopment%2Fcode-pills%2Fislands%2FCounter.tsx%22%3Bimport%20%22https%3A%2F%2Fdeno.land%2Fx%2Ffresh%401.7.3%2Fsrc%2Fruntime%2Fentrypoints%2Fsignals.ts%22%3Bimport%20%22https%3A%2F%2Fdeno.land%2Fx%2Ffresh%401.7.3%2Fsrc%2Fruntime%2Fentrypoints%2Fmain_dev.ts%22%3Bimport%20%22https%3A%2F%2Fdeno.land%2Fx%2Ffresh%401.7.3%2Fsrc%2Fruntime%2Fentrypoints%2Fclient.ts%22%3B' [plugin deno-loader] I don't know how to solve it , can you help me ?
No description
3 Replies
julian vargas
julian vargasOP4w ago
the project is a new created project using deno run -A -r https://fresh.deno.dev cd fresh-project deno task start
crowlKats
crowlKats4w ago
@julian vargas what deno version are you on? Error indicates you might be on a pre-2.0 version
julian vargas
julian vargasOP4w ago
nice , that was the problem , thanks