Comments (3)
I have solved the problem.
It helped:
npm remove noble --verbose
npm remove noble-winrt --verbose
but now it does not connect to the ports
from espruinotools.
Ok, thanks ofr the update. Yes, noble
handles the Bluetooth comms - you may have some success trying to make it use noble-uwp
instead?
from espruinotools.
It don't work
.\dist\espruino-win.exe --list --verbose
0.1.55
Espruino Command-line Tool 0.1.55
-----------------------------------
Acorn library not found - you'll need it for compiled code
Found C:\snapshot\evolvector_studio\other_files\espruino/libs/targz.js
Found C:\snapshot\evolvector_studio\other_files\espruino/libs/utf8.js
Found C:\snapshot\evolvector_studio\other_files\espruino/libs/webrtc-connection.js
Found C:\snapshot\evolvector_studio\other_files\espruino/libs/esprima/escodegen.js
Found C:\snapshot\evolvector_studio\other_files\espruino/libs/esprima/esmangle.js
Found C:\snapshot\evolvector_studio\other_files\espruino/libs/esprima/esprima.js
Found C:\snapshot\evolvector_studio\other_files\espruino/espruino.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/codeWriter.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/config.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/env.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/flasher.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/flasherESP8266.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/modules.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/notifications.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_chrome_serial.js
No chrome.serial - Chrome Serial disabled
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_chrome_socket.js
No chrome.sockets - Chrome Socket disabled
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_frame.js
serial_frame: Not running in a browser
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_noble.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_node_serial.js
Error initialising 'serialport':Error: No native build was found for platform=win32 arch=x64 runtime=node abi=93 uv=1 libc=glibc node=16.16.0
loaded from: C:\snapshot\evolvector_studio\other_files\espruino\node_modules\@serialport\bindings-cpp
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_node_socket.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_webrtc.js
Remote Connection enabled
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_websocket_local.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_websocket_relay.js
WebSocket relay support enabled
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_web_audio.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_web_bluetooth.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/serial_web_serial.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/terminal.js
Found C:\snapshot\evolvector_studio\other_files\espruino/core/utils.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/assembler.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/boardJSON.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/compiler.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/getGitHub.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/localModules.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/minify.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/pretokenise.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/saveOnSend.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/setTime.js
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/unicode.js
UTF8 Library loaded successfully
Found C:\snapshot\evolvector_studio\other_files\espruino/plugins/versionChecker.js
Initialising CodeWriter
Initialising Config
Initialising Env
Initialising Flasher
Initialising FlasherESP8266
Initialising Modules
Initialising Notifications
Initialising Serial
- Initialising Serial Noble Bluetooth LE
- Initialising Serial Node Socket
- Initialising Serial Remote Connection
- Initialising Serial Websocket Relay
- Initialising Serial Web Audio
- Initialising Serial Web Bluetooth
- Initialising Serial Web Serial
Initialising RemoteConnection
Initialising SerialWebSocketRelay
Initialising Utils
Initialising Status
Initialising Assembler
Initialising BoardJSON
Initialising Compiler
Initialising GetGitHub
Initialising LocalModules
Initialising Minify
Initialising Unicode
Initialising VersionChecker
Initialising CoreModules
Initialising Pretokenise
Initialising SaveOnSend
Initialising SetTime
Searching for serial ports...
Noble: getPorts - initialising...
Noble: module couldn't be loaded, no node.js Bluetooth Low Energy
Error: No native build was found for platform=win32 arch=x64 runtime=node abi=93 uv=1 libc=glibc node=16.16.0
loaded from: C:\snapshot\evolvector_studio\other_files\espruino\node_modules\bluetooth-hci-socket\node_modules\usb
at Function.<anonymous> (C:\snapshot\evolvector_studio\other_files\espruino\node_modules\node-gyp-build\node-gyp-build.js:60:9)
at load (C:\snapshot\evolvector_studio\other_files\espruino\node_modules\node-gyp-build\node-gyp-build.js:22:30)
at Object.<anonymous> (C:\snapshot\evolvector_studio\other_files\espruino\node_modules\bluetooth-hci-socket\node_modules\usb\usb.js:1:125)
at Module._compile (pkg/prelude/bootstrap.js:1926:22)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at Module.require (pkg/prelude/bootstrap.js:1851:31)
at require (node:internal/modules/cjs/helpers:102:18)
Error: No Ports Found
It do work
PS C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino> node bin\espruino-cli.js --list --verbose
0.1.55
Espruino Command-line Tool 0.1.55
-----------------------------------
Acorn library not found - you'll need it for compiled code
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/libs/targz.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/libs/utf8.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/libs/webrtc-connection.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/libs/esprima/escodegen.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/libs/esprima/esmangle.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/libs/esprima/esprima.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/espruino.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/codeWriter.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/config.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/env.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/flasher.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/flasherESP8266.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/modules.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/notifications.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_chrome_serial.js
No chrome.serial - Chrome Serial disabled
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_chrome_socket.js
No chrome.sockets - Chrome Socket disabled
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_frame.js
serial_frame: Not running in a browser
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_noble.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_node_serial.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_node_socket.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_webrtc.js
Remote Connection enabled
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_websocket_local.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_websocket_relay.js
WebSocket relay support enabled
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_web_audio.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_web_bluetooth.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/serial_web_serial.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/terminal.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/core/utils.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/assembler.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/boardJSON.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/compiler.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/getGitHub.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/localModules.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/minify.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/pretokenise.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/saveOnSend.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/setTime.js
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/unicode.js
UTF8 Library loaded successfully
Found C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino/plugins/versionChecker.js
Initialising CodeWriter
Initialising Config
Initialising Env
Initialising Flasher
Initialising FlasherESP8266
Initialising Modules
Initialising Notifications
Initialising Serial
- Initialising Serial Noble Bluetooth LE
- Initialising Serial Node Serial
- Initialising Serial Node Socket
- Initialising Serial Remote Connection
- Initialising Serial Websocket Relay
- Initialising Serial Web Audio
- Initialising Serial Web Bluetooth
- Initialising Serial Web Serial
Initialising RemoteConnection
Initialising SerialWebSocketRelay
Initialising Utils
Initialising Status
Initialising Assembler
Initialising BoardJSON
Initialising Compiler
Initialising GetGitHub
Initialising LocalModules
Initialising Minify
Initialising Unicode
Initialising VersionChecker
Initialising CoreModules
Initialising Pretokenise
Initialising SaveOnSend
Initialising SetTime
Searching for serial ports...
Noble: getPorts - initialising...
(node:9336) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\msaig\Desktop\progres\evolvector\studio\evolvector_studio\other_files\espruino\node_modules\node-blob\package.json' of 'server.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
PORTS:
COM6 (STMicroelectronics.)
Noble: stateChange -> poweredOff
Noble: getPorts - initialising...
Noble: getPorts - initialising...
Noble: getPorts - initialising...
Noble: getPorts - initialising...
Noble: getPorts - initialising...
Noble: getPorts - initialising...
from espruinotools.
Related Issues (20)
- Remove unicode.js HOT 3
- Upload code to flash using node module HOT 2
- Cannot find bangle.js with espruino --list HOT 7
- Error EspruinoTools and JQuery 3.6.0. HOT 9
- Error after fix for electron (0.1.42) HOT 11
- CLI attempts to access UNIX socket on Windows HOT 11
- espruino --list returns "Error: No compatible USB Bluetooth 4.0 device found!" HOT 3
- Cannot connect to puck.js on raspios/bullseye/arm64 HOT 5
- Terminal support for handling color text display with ANSI escape sequences HOT 14
- Dependency "tar.gz" is deprecated and contains security vulnerabilities HOT 1
- Use CLI with IDE Relay? HOT 2
- espruino-cli: Watch mode with file argument requires process.stdin.rawMode HOT 1
- Play program HOT 5
- 404 not found during `npm install espruino` HOT 1
- Work with arm64 HOT 1
- Improvements to localModules HOT 2
- Unable to install due to error in unmaintained dependency HOT 6
- Better typescript type support HOT 11
- Pretokenization broken for at least BangleApps HOT 2
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 espruinotools.