Giter Site home page Giter Site logo

espruino-ts-quickstart's People

Contributors

stasberkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

espruino-ts-quickstart's Issues

Gulp task doesn't upload to board

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.

npm is very unhappy

Are there any plans to update this example given all the errors and warnings from "npm install"?

Doesn't build in VS Code

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

Cannot connect to comm port when running project on board: ESP8266_BOARD

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

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.