Skip to content

imports_map.json no longer respected #125

Closed
@FallingSnow

Description

@FallingSnow

The hello example no longer works. This may be caused by a cache issue?
Issue is the same with [email protected].

$ aleph init hello
Download https://deno.land/x/aleph@v0.3.0-alpha.5/cli/init.ts
Check https://deno.land/x/aleph@v0.3.0-alpha.5/cli/init.ts
Add recommended VS Code workspace settings? [y/n] y
Downloading template...
Saving template...
Done
---
Aleph.js is ready to Go.
$ cd hello
$ aleph dev     # start the app in `development` mode
$ aleph start   # start the app in `production` mode
$ aleph build   # build the app to a static site (SSG)
---

$ cd hello
$ aleph dev
ERROR module '/react' not found
ERROR module '/pages/aleph' not found
ERROR module '/pages/react' not found
ERROR module '/components/react' not found
ERROR module '/lib/react' not found
INFO Start watching code changes...
WARN port 8080 already in use, try 8081...
INFO Aleph server ready on http://localhost:8081/

The interesting thing about this is it kind of half worked before I did rm -rf .aleph, then all the modules errored (as opposed to like half of them).

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✘ bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions