aleph.js: imports_map.json no longer respected

The hello example no longer works. This may be caused by a cache issue? Issue is the same with aleph@v0.3.0-alpha.4.

$ 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).

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments

fixed! thank you @FallingSnow

aleph upgrade