dsherret
Workspaces issue: Error running deno run dev command while starting Oak server
just checked in on the status of workspaces and the implementation in deploy is being worked on at the moment. I don't have an estimate for when it will be supported, but you can manually write in the resolution in the meantime in the main deno.json that gets resolved in deploy https://docs.deno.com/runtime/manual/basics/import_maps/
To re-iterate, instead of relying on the automatic workspace resolution, you can manually write it in the import map (deno.json) like this:
48 replies
Workspaces issue: Error running deno run dev command while starting Oak server
based on that error message you posted though, it looks like workspace support hasn't landed in deploy yet. I'll check now for sure though. You can work around it by using an import map and mapping the specifiers like
"@scope/server": "../relative-path-to-package/mod.ts"
48 replies
Workspaces issue: Error running deno run dev command while starting Oak server
if you're using
DENO_FUTURE=1
, it depends on what version of deno you have installed because that's under active development, but I believe in the latest you can run deno install
to fix it. Otherwise, if you're using npm to manage your node_modules directory then you need to manually add that package as a dependency to your package.json and then install the npm dependency via npm48 replies