Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

[error]: Task build failed: file is null #446

Open
AlexGnatko opened this issue Dec 3, 2019 · 1 comment
Open

[error]: Task build failed: file is null #446

AlexGnatko opened this issue Dec 3, 2019 · 1 comment

Comments

@AlexGnatko
Copy link

AlexGnatko commented Dec 3, 2019

I've cloned the contents of this repo to my PC, did npm install and everything as per the README file.

The interface can be opened in the browser. But when I try to compile the sample "empty C project" or any other project, I get this message:

[error]: Task build failed: file is null

Is there something missing the README file? I'm doing it in a git bash on Windows 10.

@AlexGnatko
Copy link
Author

AlexGnatko commented Dec 4, 2019

I think this is related to the fact that on Windows paths are separated by backslahes instead of slashes.

Here's what I see on Windows:
Screenshot

Here's what I see on the webassembly.studio website:
Screenshot

It looks like on Windows a file like "src\main.c" is not treated as a file in the "src" directory, but rather as a file that has a backslash in its name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant