janjongboom / mbed-simulator

Experimental simulator for Mbed OS 5 applications
Other
173 stars 66 forks source link

Mbed Simulator giving windows error 87 Parameter is incorrect #41

Closed Selenatabbara closed 5 years ago

Selenatabbara commented 5 years ago

Hello, I went through the steps provided in the README.md file to install Emscripten and install mbed-simulator through git using:

$ git clone https://github.com/janjongboom/mbed-simulator.git
$ cd mbed-simulator
$ npm install
$ npm install . -g

I have tried to build the blinky example using: $ node cli.js -i demos\blinky -o out --launch But I have this error image

I am using : image

janjongboom commented 5 years ago

Hi @Selenatabbara, this is due to path length limits on Windows. Move the mbed-simulator folder to a folder that's shorter (e.g. C:\mbed-simulator). I'll add a note in the README.