question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR Fetch modules when with hello project

See original GitHub issue

First of all: thank you for your great works! I’m super excited with Deno and will be following its growth along with projects like these. I’ve just started my first experiment on Deno with aleph. Got this error trying to run aleph dev on 0.3.0 alpha 24

aleph --version
aleph.js 0.3.0-alpha.24
deno 1.8.2
v8 9.0.257.3
typescript 4.2.2

The logs

aleph dev
[ "autoprefixer" ]
INFO Compiling...
ERROR Fetch module '/react': No such file
ERROR Fetch module '/pages/framework/react': No such file
ERROR Fetch module '/pages/react': No such file
ERROR Fetch module '/pages/~/components/logo.tsx': No such file
ERROR Fetch module '/pages/~/lib/useCounter.ts': No such file
INFO Start watching code changes...
INFO Server ready on http://localhost:8080/

I also get these VSCode errors, any hint for fixing? I couldn’t find any solutions googling.

vscode

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shadowtime2000commented, Apr 3, 2021

@deathemperor We are going to update the website docs once we are able to actually use 0.3.0-alpha for the website.

0reactions
deathemperorcommented, Apr 3, 2021

@deathemperor Were you using the template that comes with aleph init?

I dont think so. I followed the Getting Started guide here: https://alephjs.org/docs/get-started.

hmm. I’ve just started everything from scratch while writing this and it works. I believe the error was because I created the project with aleph@v0.2.28, ran with errors then upgrade aleph to latest (0.3.0 alpha 24) => run yarn dev and got this issue. Think you may wanna update the https://alephjs.org/docs/get-started page.

Thanks again. Closing issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve "Cannot find module" error using Node.js?
This happens when a first npm install has crashed for some reason (SIGINT of npm), or that the delay was too long, or...
Read more >
Error on fetch for app.module #728 - systemjs/builder - GitHub
Hello, i created the following Gulp file to run 2 tasks: serve and build. The serve task works with no problems, it runs...
Read more >
Solved: Error: requires a fetch implementation - Esri Community
Solved: Hello Sirs, I'm new in ArcGIS REST JS and I'm trying the first scripts following the tutorials. To do this try, I'm...
Read more >
node-fetch - npm
A light-weight module that brings Fetch API to node.js. ... Start using node-fetch in your project by running `npm i node-fetch`.
Read more >
node-fetch Error [ERR_REQUIRE_ESM]: require() of ES ...
The node-fetch error "[ERR_REQUIRE_ESM]: require() of ES Module not supported" occurs because the node-fetch package has been converted to be an ESM-only ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found