interplanaria / pc Goto Github PK
View Code? Open in Web Editor NEWPlanaria Computer
License: MIT License
Planaria Computer
License: MIT License
Certain commands should be given a warning and guarded against when not run in a proper way.
For example trying to create a new machine from an incorrect folder should give a proper warning and stop the user from doing it, so that the app structure is correct https://docs.planaria.network/#/pc?id=app-structure
After doing pc new machine
and filling out the prompts I see an error when trying to run pc start
due to the fact that planaria.js has:
planaria: '0.0.1',
from: HEIGHT,
...
The error isn't obvious to the end user unless you capture the logs of the container fast enough:
####################
Reading /app/genes/1HYUCuTsi3W28cHga2ZnVuf38frMo2DPGa
/app/genes/1HYUCuTsi3W28cHga2ZnVuf38frMo2DPGa/planaria.js:8
from: HEIGHT,
^
ReferenceError: HEIGHT is not defined
at Object.<anonymous> (/app/genes/1HYUCuTsi3W28cHga2ZnVuf38frMo2DPGa/planaria.js:8:9)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at /app/index.js:44:15
at Array.forEach (<anonymous>)
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.