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

Issue running on development env #81

Open
skmcontrib opened this issue Jun 2, 2021 · 1 comment
Open

Issue running on development env #81

skmcontrib opened this issue Jun 2, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@skmcontrib
Copy link

When I am running ./build-frontend.sh getting this error on windows. Have followed the README.md and using deno 1.9.2
on deno 1.10.x gives a different error shown here alephjs/aleph.js#312
any suggestions @hsjoberg ?

INFO Download https://deno.land/x/[email protected]/framework/react/pagedata.ts
INFO Download https://deno.land/x/[email protected]/framework/react/pageprops.ts
ERROR Load module '/back/config/config.ts': No such file
ERROR Load module '/back/common/data.ts': No such file
ERROR Load module '/back/common/interfaces.ts': No such file
ERROR Write module '/pages/about.tsx' to JS: No such file
ERROR Write module '/pages/index.tsx' to JS: No such file
ERROR Write module '/pages/miners.tsx' to JS: No such file
ERROR Write module '/pages/stats.tsx' to JS: No such file
ERROR Write module '/pages/settings.tsx' to JS: No such file
ERROR Write module '/pages/miner/[name].tsx' to JS: No such file
error: Uncaught (in promise) Error: No such file
return Promise.reject(new Error(No such file))
^
at Application.fetchModule (https://deno.land/x/[email protected]/server/app.ts:892:31)
at Application.loadModule (https://deno.land/x/[email protected]/server/app.ts:968:33)
at Application.compile (https://deno.land/x/[email protected]/server/app.ts:1102:37)
at https://deno.land/x/[email protected]/server/app.ts:1187:47
at Array.map ()
at Application.compile (https://deno.land/x/[email protected]/server/app.ts:1186:74)
at async Promise.all (index 1)
at async Application.init (https://deno.land/x/[email protected]/server/app.ts:284:5)
at async Application.build (https://deno.land/x/[email protected]/server/app.ts:792:5)
at async default (https://deno.land/x/[email protected]/cli/build.ts:18:3)

@hsjoberg hsjoberg added the bug Something isn't working label Jun 2, 2021
@hsjoberg
Copy link
Owner

hsjoberg commented Jun 2, 2021

@skmcontrib Hmm, sorry I am not sure. I haven't tried building on Windows actually.
The issue appears to be related the back symlink required for the frontend project to reach the folder above itself, but this doesn't appear to work correctly under Windows.

Are you familiar with WSL in Windows? If so, could you trying running it there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants