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

fresh init myproject results in an error #21

Closed
satyarohith opened this issue Jun 5, 2021 · 1 comment
Closed

fresh init myproject results in an error #21

satyarohith opened this issue Jun 5, 2021 · 1 comment

Comments

@satyarohith
Copy link
Member

➜  ~ fresh init tea
error: Uncaught (in promise) TypeError: Must be an absolute path.
  if (!isAbsolute(path)) {
                      ^
    at toFileUrl (https://deno.land/std@0.95.0/path/posix.ts:499:23)
    at routes (file:///Users/sr/c/github.com/lucacasonato/fresh/src/cli/routes.ts:50:20)
    at async init (file:///Users/sr/c/github.com/lucacasonato/fresh/src/cli/init.ts:188:14)
    at async initSubcommand (file:///Users/sr/c/github.com/lucacasonato/fresh/src/cli/init.ts:41:32)
    at async file:///Users/sr/c/github.com/lucacasonato/fresh/cli.ts:34:14

The directory tea is created and deployctl run results in the following error.

➜  tea deployctl run --no-check --watch main.ts
error: Cannot resolve module "file:///Users/sr/tea/routes.gen.ts" from "file:///Users/sr/tea/main.ts".
    at file:///Users/sr/tea/main.ts:2:0
@lucacasonato
Copy link
Member

Fixed now (#23)

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

2 participants