Closed rowild closed 4 months ago
Could be the reason yes, but the Gradio UI should still work, does it?
Sorry, didn't continue installation...
`> tts-generation-webui-react@0.1.0 build /content/tts-generation-webui/react-ui
next build
uncaughtException /content/tts-generation-webui/react-ui/node_modules/next/dist/compiled/undici/index.js:1
(()=>{var __webpack_modules__={1900:(A,e,t)=>{"use strict";const{parseContentType:s}=t(4318);function getInstance(A).
.
.
.
.
.
.
Uint8Array(A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength))}else if(o.isFormDataLike(A)){const e=----formdata-undici-${Math.random()}
.replace(".","").slice(0,32);const t=--${e}\r\nContent-Disposition: form-data
SyntaxError: Unexpected token '??='
at wrapSafe (internal/modules/cjs/loader.js:979:16)
at Module._compile (internal/modules/cjs/loader.js:1027:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.next build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tts-generation-webui-react@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I searched error log by google, it says node version is too low, now the version of nodejs is 14, but how to upgrade it?
Interesting, it looks like it might be possible after all. I couldn't find how to update nodejs, but you'll also need ngrok or some other tunnel for the connection.
I tried it in this way, and it works:
!wget https://nodejs.org/dist/v21.6.0/node-v21.6.0-linux-x64.tar.gz !tar xvfz node-v21.6.0-linux-x64.tar.gz !cp -r node-v21.6.0-linux-x64/* /usr/local/
I tried it in this way, and it works:
!wget https://nodejs.org/dist/v21.6.0/node-v21.6.0-linux-x64.tar.gz !tar xvfz node-v21.6.0-linux-x64.tar.gz !cp -r node-v21.6.0-linux-x64/* /usr/local/
Wow... Inspiring dedication, thank you. May I include this in the project?
I tried it in this way, and it works:
!wget https://nodejs.org/dist/v21.6.0/node-v21.6.0-linux-x64.tar.gz !tar xvfz node-v21.6.0-linux-x64.tar.gz !cp -r node-v21.6.0-linux-x64/* /usr/local/
Wow... Inspiring dedication, thank you. May I include this in the project?
Of course you can, just do it
Thank you @miaohf ! Added to latest commit.
Does colab not like node? What is the reason for that error?