unikraft / app-duktape Goto Github PK
View Code? Open in Web Editor NEWkraft-ready repo for building JavaScript/duktape applications with Unikraft
kraft-ready repo for building JavaScript/duktape applications with Unikraft
When running make
, the following error appears:
File "path/to/workdir/apps/app-duktape/build/duktape/origin/duktape-2.4.0/tools/configure.py", line 139, in get_duk_version
m = r.match(line)
TypeError: cannot use a string pattern on a bytes-like object
I'm using the Makefiles from the following pull request:
https://github.com/unikraft/app-duktape/pull/4/files
(hackathens23 team name: SheepDog)
Port app-docktape
to use musl, the new supported unikraft glibc.
You should create the Makefile
and Makefile.uk
files.
You can find more information on this on the Unikraft website.
You can find a list of the external libraries the application depends on in the kraft.yaml
file, under the libraries:
section.
You will need to replace the newlib
dependency with musl
.
Hackathon points: 40
When running make
, the following error will appear:
Traceback (most recent call last): File "tools/configure.py", line 29, in <module> import yaml ImportError: No module named yaml
This is likely because duktape uses Python 2, which is largely obsolete. The version of yaml in configure.py is for Python 3.
The Makefiles used were from my pull request here: #7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.