Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create new deco play project #519

Open
felix-schindler opened this issue Dec 19, 2023 · 0 comments
Open

Can't create new deco play project #519

felix-schindler opened this issue Dec 19, 2023 · 0 comments

Comments

@felix-schindler
Copy link

On play.deco.cx the 3rd step of the manual is telling me to create a new project

Create a new project locally
deno run -Ar https://deco.cx/start

however, when running the command the following error occurs:

felix@mac ~ % deno run -Ar https://deco.cx/start
Warning Implicitly using latest version (0.209.0) for https://deno.land/std/encoding/base64.ts
error: Relative import path "std/path/mod.ts" not prefixed with / or ./ or ../
    at https://raw.githubusercontent.com/deco-cx/deco/main/engine/releases/fs.ts:2:22

This is because you have "std/" in your import_map.json but the way you deploy the start script, the import map isn't being used. You can easily fix this replacing the first two lines in your engine/releases/fs.ts with the full links of your dependencies.

import { debounce } from "std/async/debounce.ts";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant