annex4-inc / vscode-control4-ext

VSCode extension for building Control4 drivers.
GNU General Public License v3.0
25 stars 6 forks source link

Failed to increment driver version #7

Closed kailun18 closed 1 year ago

kailun18 commented 1 year ago

Hi,

I'm just starting out with this. I've created an empty folder, into which I've created pretty much an empty project. Jsut running a quick debug build and I'm getting the error:

[25/01/2023, 10:50:56] Starting debug build... [25/01/2023, 10:50:56] [Version ] Failed to increment driver version [25/01/2023, 10:50:56] [Clean] Intermediate build folder cleaned [25/01/2023, 10:50:56] [Intermediate] Copied files into intermediate build folder [25/01/2023, 10:50:56] [Driver ] Failed to build driver.xml [25/01/2023, 10:50:56] [Dependencies]:

[25/01/2023, 10:50:56] [OpenSSL ] Skipped [25/01/2023, 10:50:56] [Zip ] Created TestProjectDriver.c4z [25/01/2023, 10:50:56] [CopyOutput ] Copied to TestProjectDriver.c4z

I haven't really edited much aside from package.json (even thon only to add stuff like names, etc.:

{ "name": "TestProjectDriver", "description": "Description of TestProject Driver", "version": "0.0.1", "main": "src/driver.lua", "scripts": { "test": "wsl busted tests/test.lua" }, "repository": { "type": "git", "url": "https://github.com/[GIT_USER]/my_package.git" }, "keywords": [], "author": "", "license": "ISC", "bugs": { "url": "https://github.com/[GIT_USER]/my_package/issues" }, "homepage": "https://github.com/[GIT_USER]/my_package", "control4": { "name": "TestProject", "model": "SomeModel", "manufacturer": "SomeManufacturer", "created": "1/25/2023, 10:46:51 AM", "icon": { "small": "devices_sm/c4.gif", "large": "devices_lg/c4.gif" }, "control": "lua_gen", "controlmethod": "ip" }, "devDependencies": { "@annex4/test": "^1.0.0" } }

image

The option to enable Auto Increment Version is on.

I think I tried with the example code and I'm seeing the same issue.

kailun18 commented 1 year ago

I've managed to resolve this now. Node wasn't installed for Visual Studio Code