Comments (2)
Hi Austin,
WASI requires files and directories to be pre-opened before they can be used.
Since you are using wasmer, did you use a command-line option such as --dir .
?
from as-wasi.
@jedisct1 this worked perfectly! thanks for pointing me in the right direction!
from as-wasi.
Related Issues (20)
- readLine returns null prematurely HOT 2
- RFE/Question: Binary files?
- Console Object Runtime Errors: Changetype on `Descriptor` Objects causes AS Runtime errors
- Use with wasi-shim? HOT 8
- outdated README HOT 4
- new release, please
- Compile Error: Cannot find name 'abort'.
- Wasi context stdin truncate file if exist, with no ability writing to it
- Date.now() returns microseconds instead of milliseconds
- Console.readAll blocks until EOF HOT 6
- Unable to use Environ
- Allocation error when getting environment variables and command line arguments
- Question: status of support for vectorized IO
- README gives wrong npm install HOT 6
- Questions: VSCode support HOT 3
- Environment variables whose rvalue contains an `=` gets truncated HOT 3
- Null strings are always read from STDIN HOT 9
- Environ class cannot be used: "env::abort" has not been defined HOT 2
- Program execution is stopped because proc_exit is invoked with a not allowed value HOT 10
- readLine doesn't return null when the end of the file is reached HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as-wasi.