-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Callback must be a function. Received undefined." when trying to build #10
Comments
Did you already configured your project using |
Hm you might need to setup the ´serverDirs See here: https://github.com/ole1986/a3-admintoolkit/blob/master/.vscode/arma-dev.json and if necessary download and try to build it |
Hi there, I'm having the same issue. Are you still supporting this extension? This is my arma-dev.json.
This is a fresh project. Opened the P: drive and ran >Arma 3: Configure |
Quick addition - I removed the space in my signing keys, no changed. Silly oversight, but I dont think I'm stuck there. I checked the source real quick... In armaTools.js it looks like we're only checking for
Below is the output I get after making the change:
Will send another update once I have progressed to level 3. |
Think I'm going to call it for tonight and will tackle this in the morning. I'm able to generate a PBO using the Arma tools Addon Builder. I bring this up because it looks like I'm stuck at this code based on the console output
Here's the PBO Addon Builder Config (saying that I think there is some sort of dependency that I'm missing that's undocumented): Final config for the night looks like this:
|
My last issue appears to be due to the -packonly argument, so I think you can safely ignore that issue since I reproduced the issue outside of this extension. I do think it would be worth considering adding some additional console output to these methods (I know it can be sloppy, but it helped me troubleshoot the issue). Example of the packWithAddonBuilder function:
Primarily the last bit that outputs the parameters used to spawn the child process so it can be tested locally. Anyway, seems like a cool addon, will do my best to break it :) |
Hey! I just found your addon and it looks promising, but I have stumbled upon this issue. First when I run Configure on my existing project I got this:
[02:28:28.622][Error] TypeError: Cannot read property 'postProcess' of undefined [02:31:39.666][Error] Invalid steam path: E:\SteamGames\
I have corrected the Steam path, as your addon detected my Steam Games repository on another hard drive (I use D: for most games and that's where Steam is installed and E: for Arma). Anyway, I've filled the json properties and run Arma 3: Build, but then I got this error:
[Error] TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
and I'm unable to solve this issue by myself :/
The text was updated successfully, but these errors were encountered: