Skip to content
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

Stuck on this issue - "Error: Output format mp3 is not available" - when running yarn gulp #1606

Open
CabrestopUK opened this issue Oct 25, 2024 · 1 comment

Comments

@CabrestopUK
Copy link

CabrestopUK commented Oct 25, 2024

when i run yarn gulp i get this

cabre@REDACTED MINGW64 ~/OneDrive/Desktop/shapez/shapez.io/gulp (master)
$ yarn gulp
yarn run v1.22.22
warning ..\..\..\..\..\package.json: No license field
$ gulp
Unset environment variable, might cause issues: SHAPEZ_CLI_SERVER_HOST
Unset environment variable, might cause issues: SHAPEZ_CLI_ALPHA_FTP_USER
Unset environment variable, might cause issues: SHAPEZ_CLI_ALPHA_FTP_PW
Unset environment variable, might cause issues: SHAPEZ_CLI_STAGING_FTP_USER
Unset environment variable, might cause issues: SHAPEZ_CLI_STAGING_FTP_PW
Unset environment variable, might cause issues: SHAPEZ_CLI_LIVE_FTP_USER
Unset environment variable, might cause issues: SHAPEZ_CLI_LIVE_FTP_PW
Unset environment variable, might cause issues: SHAPEZ_CLI_APPLE_ID
Unset environment variable, might cause issues: SHAPEZ_CLI_APPLE_CERT_NAME
Unset environment variable, might cause issues: SHAPEZ_CLI_GITHUB_USER
Unset environment variable, might cause issues: SHAPEZ_CLI_GITHUB_TOKEN
[23:02:06] Using gulpfile ~\OneDrive\Desktop\shapez\shapez.io\gulp\gulpfile.js
[23:02:06] Starting 'default'...
[23:02:06] Starting 'serve.web-localhost'...
[23:02:06] Starting 'build.prepare.dev'...
[23:02:06] Starting 'utils.cleanup'...
[23:02:06] Starting 'utils.cleanBuildFolder'...
[23:02:06] Finished 'utils.cleanBuildFolder' after 18 ms
[23:02:06] Starting 'utils.cleanImageBuildFolder'...
[23:02:06] Finished 'utils.cleanImageBuildFolder' after 2.2 ms
[23:02:06] Starting 'utils.cleanBuildTempFolder'...
[23:02:06] Finished 'utils.cleanBuildTempFolder' after 2.21 ms
[23:02:06] Finished 'utils.cleanup' after 23 ms
[23:02:06] Starting 'utils.copyAdditionalBuildFiles'...
[23:02:06] Finished 'utils.copyAdditionalBuildFiles' after 2.96 ms
[23:02:06] Starting 'localConfig.findOrCreate'...
[23:02:06] Finished 'localConfig.findOrCreate' after 2.73 ms
[23:02:06] Starting 'imgres.buildAtlas'...
java version "22.0.1" 2024-04-16
Java(TM) SE Runtime Environment (build 22.0.1+8-16)
Java HotSpot(TM) 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing)
'wget' is not recognized as an internal or external command,
operable program or batch file.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21.5M  100 21.5M    0     0  22.4M      0 --:--:-- --:--:-- --:--:-- 22.4M
[23:02:10] Finished 'imgres.buildAtlas' after 4.13 s
[23:02:10] Starting 'imgres.atlasToJson'...
Processing: C:\Users\cabre\OneDrive\Desktop\shapez\shapez.io\res_built\atlas\atl
as0_hq.atlas
Processing: C:\Users\cabre\OneDrive\Desktop\shapez\shapez.io\res_built\atlas\atl
as0_lq.atlas
Processing: C:\Users\cabre\OneDrive\Desktop\shapez\shapez.io\res_built\atlas\atl
as0_mq.atlas
[23:02:10] Finished 'imgres.atlasToJson' after 6.39 ms
[23:02:10] Starting 'imgres.atlas'...
[23:02:10] Finished 'imgres.atlas' after 18 ms
[23:02:10] Starting 'sounds.dev'...
[23:02:10] Starting 'sounds.buildall'...
[23:02:10] Starting 'sounds.music'...
[23:02:10] Starting 'sounds.sfx'...
[23:02:10] Starting 'sounds.sfxGenerateSprites'...
[
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/badge_not
ification.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/copy.wav'
,
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/destroy_b
uilding.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/dialog_er
ror.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/dialog_ok
.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/level_com
plete.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/place_bel
t.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/place_bui
lding.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/tutorial_
step.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/ui_click.
wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/ui_error.
wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/ui_swish_
hide.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/ui_swish_
show.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/unlock_up
grade.wav'
] undefined
[23:02:10] Plumber found unhandled error:
 Error in plugin "gulp-cache"
Message:
    Output format mp3 is not available
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.30653262350428223',
  duration: 0.9675283446712019
}
Silence gap added { duration: 0.13247165532879815 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.2856266516307546',
  duration: 0.18081632653061225
}
Silence gap added { duration: 0.9191836734693878 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.2142795555941872',
  duration: 0.4672108843537415
}
Silence gap added { duration: 0.6327891156462585 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.09607391402392729',
  duration: 0.19507936507936507
}
Silence gap added { duration: 0.9049206349206349 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.16572058395825806',
  duration: 0.8804535147392291
}
Silence gap added { duration: 0.21954648526077095 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.9179431013957213',
  duration: 2.119387755102041
}
Silence gap added { duration: 0.980612244897959 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.5442883129087572',
  duration: 0.06380952380952382
}
Silence gap added { duration: 1.0361904761904763 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.6484060009642316',
  duration: 0.30984126984126986
}
Silence gap added { duration: 0.7901587301587302 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.08807673685021244',
  duration: 0.6791836734693878
}
Silence gap added { duration: 0.4208163265306122 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.13716644813544132',
  duration: 0.11297052154195011
}
Silence gap added { duration: 0.9870294784580499 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.16172899164381005',
  duration: 0.3057369614512472
}
Silence gap added { duration: 0.7942630385487528 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.5682425028682523',
  duration: 0.08541950113378685
}
Silence gap added { duration: 1.0145804988662133 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.525529890594451',
  duration: 0.1127891156462585
}
Silence gap added { duration: 0.9872108843537415 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.24654116151974925',
  duration: 0.2089795918367347
}
Silence gap added { duration: 0.8910204081632652 }
Exported mp3 OK { file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\sfx.mp3' }
(node:2348) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
[23:02:11] Finished 'sounds.sfxGenerateSprites' after 1.06 s
[23:02:11] Starting 'sounds.sfxOptimize'...
[23:02:11] Plumber found unhandled error:
 Error: Output format mp3 is not available
[23:02:11] The following tasks did not complete: default, serve.web-localhost, b
uild.prepare.dev, sounds.dev, sounds.buildall, sounds.music, sounds.sfx, sounds.
sfxOptimize
[23:02:11] Did you forget to signal async completion?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.

Does anyone have suggestions? i feel like I've tried everything and I think ffmpeg is correctly configured

@CabrestopUK
Copy link
Author

I just realised i forgot wget, this is the updated error message with wget

$ yarn gulp
yarn run v1.22.22
warning ..\..\..\..\..\package.json: No license field
$ gulp
Unset environment variable, might cause issues: SHAPEZ_CLI_SERVER_HOST
Unset environment variable, might cause issues: SHAPEZ_CLI_ALPHA_FTP_USER
Unset environment variable, might cause issues: SHAPEZ_CLI_ALPHA_FTP_PW
Unset environment variable, might cause issues: SHAPEZ_CLI_STAGING_FTP_USER
Unset environment variable, might cause issues: SHAPEZ_CLI_STAGING_FTP_PW
Unset environment variable, might cause issues: SHAPEZ_CLI_LIVE_FTP_USER
Unset environment variable, might cause issues: SHAPEZ_CLI_LIVE_FTP_PW
Unset environment variable, might cause issues: SHAPEZ_CLI_APPLE_ID
Unset environment variable, might cause issues: SHAPEZ_CLI_APPLE_CERT_NAME
Unset environment variable, might cause issues: SHAPEZ_CLI_GITHUB_USER
Unset environment variable, might cause issues: SHAPEZ_CLI_GITHUB_TOKEN
[09:24:17] Using gulpfile ~\OneDrive\Desktop\shapez\shapez.io\gulp\gulpfile.js
[09:24:17] Starting 'default'...
[09:24:17] Starting 'serve.web-localhost'...
[09:24:17] Starting 'build.prepare.dev'...
[09:24:17] Starting 'utils.cleanup'...
[09:24:17] Starting 'utils.cleanBuildFolder'...
[09:24:17] Finished 'utils.cleanBuildFolder' after 22 ms
[09:24:17] Starting 'utils.cleanImageBuildFolder'...
[09:24:17] Finished 'utils.cleanImageBuildFolder' after 2.57 ms
[09:24:17] Starting 'utils.cleanBuildTempFolder'...
[09:24:17] Finished 'utils.cleanBuildTempFolder' after 1.7 ms
[09:24:17] Finished 'utils.cleanup' after 28 ms
[09:24:17] Starting 'utils.copyAdditionalBuildFiles'...
[09:24:17] Finished 'utils.copyAdditionalBuildFiles' after 2.64 ms
[09:24:17] Starting 'localConfig.findOrCreate'...
[09:24:17] Finished 'localConfig.findOrCreate' after 428 μs
[09:24:17] Starting 'imgres.buildAtlas'...
java version "22.0.1" 2024-04-16
Java(TM) SE Runtime Environment (build 22.0.1+8-16)
Java HotSpot(TM) 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing)
[09:24:20] Finished 'imgres.buildAtlas' after 2.87 s
[09:24:20] Starting 'imgres.atlasToJson'...
Processing: C:\Users\cabre\OneDrive\Desktop\shapez\shapez.io\res_built\atlas\atl
as0_hq.atlas
Processing: C:\Users\cabre\OneDrive\Desktop\shapez\shapez.io\res_built\atlas\atl
as0_lq.atlas
Processing: C:\Users\cabre\OneDrive\Desktop\shapez\shapez.io\res_built\atlas\atl
as0_mq.atlas
[09:24:20] Finished 'imgres.atlasToJson' after 6.71 ms
[09:24:20] Starting 'imgres.atlas'...
[09:24:20] Finished 'imgres.atlas' after 17 ms
[09:24:20] Starting 'sounds.dev'...
[09:24:20] Starting 'sounds.buildall'...
[09:24:20] Starting 'sounds.music'...
[09:24:20] Starting 'sounds.sfx'...
[09:24:20] Starting 'sounds.sfxGenerateSprites'...
[
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/badge_not
ification.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/copy.wav'
,
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/destroy_b
uilding.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/dialog_er
ror.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/dialog_ok
.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/level_com
plete.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/place_bel
t.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/place_bui
lding.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/tutorial_
step.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/ui_click.
wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/ui_error.
wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/ui_swish_
hide.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/ui_swish_
show.wav',
  'C:/Users/cabre/OneDrive/Desktop/shapez/shapez.io/res_raw/sounds/sfx/unlock_up
grade.wav'
] undefined
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.8559800765570293',
  duration: 0.9675283446712019
}
Silence gap added { duration: 0.13247165532879815 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.4448120134738931',
  duration: 0.18081632653061225
}
Silence gap added { duration: 0.9191836734693878 }
[09:24:20] Plumber found unhandled error:
 Error in plugin "gulp-cache"
Message:
    Output format mp3 is not available
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.34004557037381034',
  duration: 0.4672108843537415
}
Silence gap added { duration: 0.6327891156462585 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.3126380997038418',
  duration: 0.19507936507936507
}
Silence gap added { duration: 0.9049206349206349 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.6591338737503765',
  duration: 0.8804535147392291
}
Silence gap added { duration: 0.21954648526077095 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.9304959878817549',
  duration: 2.119387755102041
}
Silence gap added { duration: 0.980612244897959 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.15400354652392978',
  duration: 0.06380952380952382
}
Silence gap added { duration: 1.0361904761904763 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.46718606294938914',
  duration: 0.30984126984126986
}
Silence gap added { duration: 0.7901587301587302 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.45536519792176167',
  duration: 0.6791836734693878
}
Silence gap added { duration: 0.4208163265306122 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.7298546702887865',
  duration: 0.11297052154195011
}
Silence gap added { duration: 0.9870294784580499 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.03910336097734812',
  duration: 0.3057369614512472
}
Silence gap added { duration: 0.7942630385487528 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.45510956847143613',
  duration: 0.08541950113378685
}
Silence gap added { duration: 1.0145804988662133 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.8258463954156667',
  duration: 0.1127891156462585
}
Silence gap added { duration: 0.9872108843537415 }
File added OK {
  file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\audiosprite.4309680209173372',
  duration: 0.2089795918367347
}
Silence gap added { duration: 0.8910204081632652 }
Exported mp3 OK { file: 'C:\\Users\\cabre\\AppData\\Local\\Temp\\sfx.mp3' }
(node:5292) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
[09:24:21] Finished 'sounds.sfxGenerateSprites' after 830 ms
[09:24:21] Starting 'sounds.sfxOptimize'...
[09:24:21] Plumber found unhandled error:
 Error: Output format mp3 is not available
[09:24:21] The following tasks did not complete: default, serve.web-localhost, b
uild.prepare.dev, sounds.dev, sounds.buildall, sounds.music, sounds.sfx, sounds.
sfxOptimize
[09:24:21] Did you forget to signal async completion?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@CabrestopUK and others