You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the documentation for information that matches the description of the bug I want to file, without success.
This issue contains only one bug.
Describe the bug
I was trying to build FreeTube on my Mac (15.3.1) since the pre-built version doesn't run (I get an error that the application is corrupted).
I have node 18.20.7 installed (via homebrew) and I was getting errors in a couple of build scripts:
_scripts/patchShaka.mjs
_scripts/injectAllowedPaths.mjs
The error was related to using import.meta.dirname that apparently is not avaliable with newer version of nodejs. The suggestion is to use the following:
`
import { dirname } from 'path'
import { fileURLToPath } from 'url'
Guidelines
Describe the bug
I was trying to build FreeTube on my Mac (15.3.1) since the pre-built version doesn't run (I get an error that the application is corrupted).
I have node 18.20.7 installed (via homebrew) and I was getting errors in a couple of build scripts:
The error was related to using
import.meta.dirname
that apparently is not avaliable with newer version of nodejs. The suggestion is to use the following:`
import { dirname } from 'path'
import { fileURLToPath } from 'url'
dirname = dirname(fileURLToPath(import.meta.url));
`
Expected Behavior
I should be able to build (or at least get an error that says I am using the wrong version of nodejs)
Issue Labels
causes crash
FreeTube Version
a779e46
Operating System Version
Macos Sequoia 18.20.7
Installation Method
other
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
The text was updated successfully, but these errors were encountered: