пишет ошибку:
/root/.pm2/logs/index-error.log last 15 lines:
2|index | /app/index.js:91
2|index | updateOrder(orderID, cs?.data?.[cs.data.length - 1]);
2|index | ^
2|index |
2|index | SyntaxError: Unexpected token .
2|index | at Module._compile (internal/modules/cjs/loader.js:723:23)
2|index | at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2|index | at Module.load (internal/modules/cjs/loader.js:653:32)
2|index | at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2|index | at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2|index | at Object.<anonymous> (/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js:33:23)
2|index | at Module._compile (internal/modules/cjs/loader.js:778:30)
2|index | at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2|index | at Module.load (internal/modules/cjs/loader.js:653:32)
2|index | at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
С чем связана, кто знает? Можете подсказать?
Окей
Обсуждают сегодня