We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to run the creator tools via the cli tool via a github action on ubuntu-latest I get the following error.
/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/@minecraft/creator-tools/storage/StorageUtilities.js:327 let lastSlash = path.lastIndexOf("/", path.length - 1); ^ TypeError: path.lastIndexOf is not a function at StorageUtilities.getFolderPath (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/@minecraft/creator-tools/storage/StorageUtilities.js:327:30) at loadProjects (/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/@minecraft/creator-tools/cli/index.js:235:63) at /opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/@minecraft/creator-tools/cli/index.js:[19](https://github.com/ShapescapeMC/Scary-Mobs-Addon/actions/runs/11125097186/job/30912056959#step:12:20)5:11 Node.js v18.20.4
This is the command I used: npx mct validate addon -if PATH -o ./output -lv
npx mct validate addon -if PATH -o ./output -lv
Tested this with Node version 20.x as well, but still had the same error. It works fine locally on my windows machine.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When trying to run the creator tools via the cli tool via a github action on ubuntu-latest I get the following error.
This is the command I used:
npx mct validate addon -if PATH -o ./output -lv
Tested this with Node version 20.x as well, but still had the same error. It works fine locally on my windows machine.
The text was updated successfully, but these errors were encountered: