【SyntaxError】の検索結果
なんじゃこりゃ
app-1 | > start
app-1 | > node ./built
app-1 |
app-1 | file:///ai/built/index.js:8
app-1 | import pkg from '../package.json' assert { type: 'json' };
app-1 | ^^^^^^
app-1 |
app-1 | SyntaxError: Unexpected identifier 'assert'
app-1 | at compileSourceTextModule (node:internal/modules/esm/utils16)
app-1 | at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators18)
app-1 | at #translate (node:internal/modules/esm/loader12)
app-1 | at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader27)
app-1 | at async ModuleJob._link (node:internal/modules/esm/module_job19)
app-1 |
app-1 | Node.js v22.12.0