-
Notifications
You must be signed in to change notification settings - Fork 104
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
Ubuntu Server 20.04: oputil.js gives 'flat is not a function' error #422
Comments
Re-ran npm rebuild and now it seems to be working. Will leave this thread up just in case someone else hits this snag... |
If you're using the latest off of I'll get this issue template updated. Looks like it was missed. |
Thanks I will look for it. Just FTR I am able to run the config script but not able to run main.js, but I assume this is to do with the Node version. If it's not working I will post terminal output once I get a newer version of Node.js sorted. Thanks for the heads-up! |
OK upgraded to Node.js 16.15.0 and still unable to run
If if do
Any insight will be much appreciated! |
After updating Node, you need to run
|
Just started it up successfully. Thanks for seeing me over the finish line! |
@LilFonky Awesome, I'm glad it's working for you! Enjoy! |
Describe the Bug
Attempting to install using curl script, which appears to complete without issue. Unable to complete initial config due to
./oputil.js config new
erroring out withWill include full terminal output below
To Reproduce
Just run
./oputil.js config new
after initial install. Triednpm rebuild
with no effect.Expected Behavior
Expected prompts associated with first run configuration.
Actual Behavior
Tried updating to latest version of nodejs and seem to have made matters worse:
Environment
I am using Node.js v12.x LTS or higher
npm install
oryarn
reports successActual Node.js version (
node --version
): 12.22.12Operating system (
uname -a
on *nix systems): Linux origin 5.4.0-109-generic 0.0.7 alpha #123-Ubuntu SMP Fri Apr 8 09:10:54 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxRevision (
git rev-parse --short HEAD
): ac38ac9The text was updated successfully, but these errors were encountered: