-
-
Save xtrator/cc5af1f1e9f10d1e70ba2c8abb2f9729 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ server git:(main) npm run dev | |
> @ dev /Users/alexander/Desktop/React/Discord/cobalt/server | |
> NODE_ENV=development nodemon -e ts --exec "npm run start" | |
[nodemon] 2.0.16 | |
[nodemon] to restart at any time, enter `rs` | |
[nodemon] watching path(s): *.* | |
[nodemon] watching extensions: ts | |
[nodemon] starting `npm run start` | |
> @ start /Users/alexander/Desktop/React/Discord/cobalt/server | |
> npm run build && node build/index.js | |
> @ build /Users/alexander/Desktop/React/Discord/cobalt/server | |
> tsc | |
2023-01-05 11:24:24:2424 info: run all loaders | |
[info] use ffmpeg.wasm v0.11.6 | |
[info] load ffmpeg-core | |
[info] loading ffmpeg-core | |
2023-01-05 11:24:24:2424 debug: Server is running on port 8000 | |
[fferr] requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag | |
(on node you may need: --experimental-wasm-threads --experimental-wasm-bulk-memory and also use a recent version) | |
[fferr] Error: bad memory | |
/Users/alexander/Desktop/React/Discord/cobalt/server/node_modules/@ffmpeg/core/dist/ffmpeg-core.js:12 | |
if(l){ra=oa?require("path").dirname(ra)+"/":__dirname+"/";ta=function(a,b){wa||(wa=require("fs"));xa||(xa=require("path"));a=xa.normalize(a);return wa.readFileSync(a,b?null:"utf8")};va=function(a){a=ta(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a};1<process.argv.length&&(ka=process.argv[1].replace(/\\/g,"/"));ja=process.argv.slice(2);process.on("uncaughtException",function(a){if(!(a instanceof ca))throw a;});process.on("unhandledRejection",u);la=function(a){process.exit(a)};f.inspect= | |
^ | |
RuntimeError: abort(Error: bad memory). Build with -s ASSERTIONS=1 for more info. | |
at process.u (/Users/alexander/Desktop/React/Discord/cobalt/server/node_modules/@ffmpeg/core/dist/ffmpeg-core.js:25:109) | |
at process.emit (events.js:376:20) | |
at processPromiseRejections (internal/process/promises.js:245:33) | |
at processTicksAndRejections (internal/process/task_queues.js:96:32) | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 7 | |
npm ERR! @ start: `npm run build && node build/index.js` | |
npm ERR! Exit status 7 | |
npm ERR! | |
npm ERR! Failed at the @ start script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/alexander/.npm/_logs/2023-01-05T16_24_24_239Z-debug.log | |
[nodemon] app crashed - waiting for file changes before starting... | |
^C | |
➜ server git:(main) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment