stasberkov / espruino-ts-quickstart Goto Github PK
View Code? Open in Web Editor NEWQuickstart for Espruino using typescript and Visual Studio Code IDE
Quickstart for Espruino using typescript and Visual Studio Code IDE
When I run send-to-espurino-console
it doesn't do all tasks.
> Executing task: node_modules\.bin\gulp.cmd send-to-espurino-console <
[17:51:36] Using gulpfile ~\Desktop\mqtt\espruinots\gulpfile.js
[17:51:36] Starting 'send-to-espurino-console'...
[17:51:36] Finished 'send-to-espurino-console' after 9.54 ms
Terminal will be reused by tasks, press any key to close it.
Are there any plans to update this example given all the errors and warnings from "npm install"?
I was hoping for this project, but unfortunately it does not build in VS Code atm.
[15:42:10] Using gulpfile C:\Prv\Visual Studio Code\EspruinoQuickStart\espruino-ts-quickstart-master\gulpfile.js
[15:42:10] Starting 'build'...
[15:42:10] Starting 'prepare-for-espruino'...
[15:42:10] Starting 'compile-ts'...
[15:42:10] Starting 'gen-config-ts'...
[15:42:10] Finished 'gen-config-ts' after 2.7 ms
[15:42:10] Starting 'compile_ts'...
C:/Prv/Visual Studio Code/EspruinoQuickStart/espruino-ts-quickstart-master/node_modules/@types/espruino/index.d.ts(438,13): error TS2300: Duplicate identifier 'USB'.
C:/Prv/Visual Studio Code/EspruinoQuickStart/espruino-ts-quickstart-master/node_modules/@types/w3c-web-usb/index.d.ts(104,15): error TS2300: Duplicate identifier 'USB'.
C:/Prv/Visual Studio Code/EspruinoQuickStart/espruino-ts-quickstart-master/node_modules/@types/w3c-web-usb/index.d.ts(171,19): error TS2749: 'USB' refers to a value, but is being used as a type here. Did you mean 'typeof USB'?
TypeScript: 3 semantic errors
Duplicate identifier 'USB'.
Indeed USB is defined in both:
@types/espruino/index.d.ts
@types/w3c-web-usb/index.d.ts
Make this repo as a template as it will help to reduce setting up boiler paper code
Hello,
I am very excited to see that someone has gotten Espruino working with VS Code, I am trying to duplicate this success but having problems. I have changed the env-config.yaml to my com port and board type of board: "ESP8266_BOARD" which I believe is the correct board type for esp8266. I successfully built the quickstart project, using the NPM packages at the versions specified in package.json. However, when I try to execute ctrl-shift-b and run the espurino-console, I receive an error that Port "COM4" not found. Unable to connect. My esp8266 is on comm 4. I have tried on 3 different windows machines and 4 different esp8266 boards, 3 nodemcu 1.0 ESP8266 NodeMCU LUA CP2102 ESP-12E and one ESP8266 ESP-12 ESP-12F NodeMcu Mini D1. I have flashed all of the boards with the latest 4gb firmware (espruino_2v01_esp8266_4mb_combined_4096.bin) from http://www.espruino.com/Download.
I am able to connect to the esp8266 from the Espruino IDE, but using VS Code is by far the preferred choice! Are there any suggestions? Thank you
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.