eclipse-threadx/getting-started

ERROR: Unable to find folder at https://aka.ms/vcpkg-ce-default at command vcpkg activate

sergiosolorzano opened this issue ยท 4 comments

At step vcpkg activate I get error

Updating registry data from https://aka.ms/vcpkg-ce-default
ERROR: Unable to find project in folder (or parent folders) for undefined

PS C:\AR-VR-Github\mxchip-install\MXChip\AZ3166> vcpkg activate
warning: vcpkg-artifacts are experimental and may change at any time.
A suitable version of node was not found (required v16.15.1). Downloading portable node v16.15.1...
Downloading node...
https://nodejs.org/dist/v16.15.1/node-v16.15.1-win-x64.7z -> C:\Users\Sergio.vcpkg\downloads\node-v16.15.1-win-x64.7z
Extracting node...
A suitable version of cmake was not found (required v3.22.2). Downloading portable cmake v3.22.2...
Downloading cmake...
https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-windows-i386.zip -> C:\Users\Sergio.vcpkg\downloads\cmake-3.22.2-windows-i386.zip
Extracting cmake...
Downloading vcpkg-ce bundle 2022-10-12...
npm notice
npm notice New minor version of npm available! 8.11.0 -> 8.19.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.2
npm notice Run npm install -g npm@8.19.2 to update!
npm notice
Updating registry data from https://aka.ms/vcpkg-ce-default
ERROR: Unable to find project in folder (or parent folders) for undefined

I then run start devenv . and VS opens but shows message VS not running on vcpkg env:
image

My system Win11, powershell 7.2.6, npm updated, VS2022 Community
Please help

Thank you!

Related to a change in vcpkg, I have submitted an issue: microsoft/vcpkg#27241

A workout I found would be to use the --z-vcpkg-manifest-dir flag to specific the directory.

vcpkg activate --z-vcpkg-manifest-dir=C:\projects\iot\rtos\getting-started\MXChip\AZ3166

It appears to only work with absolute paths.

Worked great @ryanwinter , this tool is awesome! thanks again for your help !

Checked in on this and the new version they pushed out was successfully able to activate.