Error: Uncaught Exception: spawn tail ENOENT

General Discussion
  • Getting this error since today without any changes ... what's the cause?

    b421b794-125a-4415-8aa1-23753d82d6c1-image.png

    Edit: Some context, it suddenly stopped running by today and a new start immediately crashes ... I have not changed anything, but don't know either how to fix it?

    When I try to rebuild it fails as well ....

    D:\nodebb_root\nodebb>nodebb build
    2023-03-20T09:55:49.907Z [4567/9412] - verbose: [minifier] utilizing a maximum of 1 additional threads
    2023-03-20T09:55:55.347Z [4567/9412] - error: uncaughtException: date.format is not a function
    TypeError: date.format is not a function
        at CT._getNextDateFrom (D:\nodebb_root\nodebb\node_modules\cron\lib\time.js:271:79)
        at CT.sendAt (D:\nodebb_root\nodebb\node_modules\cron\lib\time.js:185:17)
        at CT.getTimeout (D:\nodebb_root\nodebb\node_modules\cron\lib\time.js:202:29)
        at CJ.start (D:\nodebb_root\nodebb\node_modules\cron\lib\job.js:118:31)
        at new CJ (D:\nodebb_root\nodebb\node_modules\cron\lib\job.js:73:10)
        at module.exports (D:\nodebb_root\nodebb\src\posts\uploads.js:35:3)
        at Object.<anonymous> (D:\nodebb_root\nodebb\src\posts\index.js:28:21)
        at Module._compile (node:internal/modules/cjs/loader:1126:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
        at Module.load (node:internal/modules/cjs/loader:1004:32) {"date":"Mon Mar 20 2023 10:55:55 GMT+0100 (MitteleuropÀische Normalzeit)","error":{},"exception":true,"os":{"loadavg":[0,0,0],"uptime":12358128},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","D:\\nodebb_root\\nodebb\\nodebb","build"],"cwd":"D:\\nodebb_root\\nodebb","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":796431,"external":2930291,"heapTotal":82739200,"heapUsed":56544040,"rss":116183040},"pid":9412,"uid":null,"version":"v16.17.0"},"stack":"TypeError: date.format is not a function\n    at CT._getNextDateFrom (D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\time.js:271:79)\n    at CT.sendAt (D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\time.js:185:17)\n    at CT.getTimeout (D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\time.js:202:29)\n    at CJ.start (D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\job.js:118:31)\n    at new CJ (D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\job.js:73:10)\n    at module.exports (D:\\nodebb_root\\nodebb\\src\\posts\\uploads.js:35:3)\n    at Object.<anonymous> (D:\\nodebb_root\\nodebb\\src\\posts\\index.js:28:21)\n    at Module._compile (node:internal/modules/cjs/loader:1126:14)\n    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)\n    at Module.load (node:internal/modules/cjs/loader:1004:32)","trace":[{"column":79,"file":"D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\time.js","function":"CT._getNextDateFrom","line":271,"method":"_getNextDateFrom","native":false},{"column":17,"file":"D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\time.js","function":"CT.sendAt","line":185,"method":"sendAt","native":false},{"column":29,"file":"D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\time.js","function":"CT.getTimeout","line":202,"method":"getTimeout","native":false},{"column":31,"file":"D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\job.js","function":"CJ.start","line":118,"method":"start","native":false},{"column":10,"file":"D:\\nodebb_root\\nodebb\\node_modules\\cron\\lib\\job.js","function":"new CJ","line":73,"method":null,"native":false},{"column":3,"file":"D:\\nodebb_root\\nodebb\\src\\posts\\uploads.js","function":"module.exports","line":35,"method":"exports","native":false},{"column":21,"file":"D:\\nodebb_root\\nodebb\\src\\posts\\index.js","function":null,"line":28,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1126,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1180,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1004,"method":"load","native":false}]}
    

    Edit2: Strangely I get this on two independent systems for my test and my productive environment ... no good?

  • @PitaJ Thx!


Suggested Topics