Hi
I have freshly installed a Mbed Studio (newbie), but each time I try to start a new project then it fails with Failed to create program mbed-os-example-blinky (or any other example project).
How to attach a log file? The upload form does not support uploading text files?
Attaching errors from log file
[2022-02-19T09:37:05.656] [WARN] root/mbs-library-mgmt - An error occurred copying the library bundle [
“Error: ‘file:///c%3A/Users/x/AppData/Local/Mbed%20Studio/mbed-studio-tools/mbed-library-cache’ has not been found.\n” +
’ at FileSystemNode. (C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\@theia\filesystem\lib\node\node-filesystem.js:439:64)\n’ +
’ at step (C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\@theia\filesystem\lib\node\node-filesystem.js:60:23)\n’ +
’ at Object.next (C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\@theia\filesystem\lib\node\node-filesystem.js:41:53)\n’ +
’ at fulfilled (C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\@theia\filesystem\lib\node\node-filesystem.js:32:58)’
]
…
[2022-02-19T09:37:05.694] [WARN] root/mbs-library-mgmt - An error occurred populating the library cache for GitHub - ARMmbed/mbed-os: Arm Mbed OS is a platform operating system designed for the internet of things [
“Error: Git could not be found at the expected path: ‘C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe’. This might be a problem with how the application is packaged, so confirm this folder hasn’t been removed when packaging.\n” +
’ at C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\dugite-no-gpl\build\lib\git-process.js:87:39\n’ +
’ at exithandler (child_process.js:311:5)\n’ +
’ at ChildProcess.errorhandler (child_process.js:323:5)\n’ +
’ at ChildProcess.emit (events.js:223:5)\n’ +
’ at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)\n’ +
’ at onErrorNT (internal/child_process.js:456:16)\n’ +
’ at processTicksAndRejections (internal/process/task_queues.js:81:21)’
]
[2022-02-19T09:37:05.694] [WARN] root/mbs-library-mgmt - Failed to create library cache for GitHub - ARMmbed/mbed-os: Arm Mbed OS is a platform operating system designed for the internet of things [
“Error: Git could not be found at the expected path: ‘C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe’. This might be a problem with how the application is packaged, so confirm this folder hasn’t been removed when packaging.\n” +
’ at C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\dugite-no-gpl\build\lib\git-process.js:87:39\n’ +
’ at exithandler (child_process.js:311:5)\n’ +
’ at ChildProcess.errorhandler (child_process.js:323:5)\n’ +
’ at ChildProcess.emit (events.js:223:5)\n’ +
’ at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)\n’ +
’ at onErrorNT (internal/child_process.js:456:16)\n’ +
’ at processTicksAndRejections (internal/process/task_queues.js:81:21)’
]
[2022-02-19T09:37:05.695] [ERROR] root/mbs-library-mgmt - Library pipeline: failed to create repo for https://github.com/ARMmbed/mbed-os/mbed-os [
“Error: Git could not be found at the expected path: ‘C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe’. This might be a problem with how the application is packaged, so confirm this folder hasn’t been removed when packaging.\n” +
’ at C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\dugite-no-gpl\build\lib\git-process.js:87:39\n’ +
’ at exithandler (child_process.js:311:5)\n’ +
’ at ChildProcess.errorhandler (child_process.js:323:5)\n’ +
’ at ChildProcess.emit (events.js:223:5)\n’ +
’ at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)\n’ +
’ at onErrorNT (internal/child_process.js:456:16)\n’ +
’ at processTicksAndRejections (internal/process/task_queues.js:81:21)’
]
[2022-02-19T09:37:05.695] [ERROR] root/mbs-library-mgmt - Library pipeline: failed to create repo for https://github.com/ARMmbed/mbed-os/mbed-os-5 [
“Error: Git could not be found at the expected path: ‘C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe’. This might be a problem with how the application is packaged, so confirm this folder hasn’t been removed when packaging.\n” +
’ at C:\Users\x\AppData\Local\Programs\Mbed Studio\resources\app\node_modules\dugite-no-gpl\build\lib\git-process.js:87:39\n’ +
’ at exithandler (child_process.js:311:5)\n’ +
’ at ChildProcess.errorhandler (child_process.js:323:5)\n’ +
’ at ChildProcess.emit (events.js:223:5)\n’ +
’ at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)\n’ +
’ at onErrorNT (internal/child_process.js:456:16)\n’ +
’ at processTicksAndRejections (internal/process/task_queues.js:81:21)’
]
…
[2022-02-19T09:37:08.304] [WARN] MbedStudio - Error: ‘cpp’ language is remapped from ‘source.cpp.embedded.macro’ to ‘source.cpp’ scope
at e.mapLanguageIdToTextmateGrammar (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:200521)
at file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:624701
at P (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:622321)
at n (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:624630)
at file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:625026
[2022-02-19T09:37:08.305] [WARN] MbedStudio - Error: a registered grammar configuration for ‘cpp’ language is overridden
at e.registerGrammarConfiguration (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:201192)
at file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:624825
at P (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:622321)
at n (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:624746)
at file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:12:625026
[2022-02-19T09:37:08.502] [ERROR] MbedStudio - Request makeTextRequest failed with error: Received status code 404 [
‘Error: Received status code 404\n’ +
’ at t. (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:127:143402)\n’ +
’ at file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:127:141039\n’ +
’ at Object.next (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:127:141144)\n’ +
’ at a (file:///C:/Users/x/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/bundle.js:127:139858)’
]
…
[2022-02-19T09:37:27.407] [ERROR] root/mbs-library-mgmt - Failed to create program mbed-os-example-blinky at file:///c%3A/Users/x/Mbed%20Programs/mbed-os-example-blinky [
{
errno: -4058,
code: ‘ENOENT’,
syscall: ‘open’,
path: ‘c:\Users\x\AppData\Local\Mbed Studio\mbed-studio-tools\example-projects\mbed-os-example-blinky.zip’
}
]