jikji icon indicating copy to clipboard operation
jikji copied to clipboard

ERR_UNKNOWN_FILE_EXTENSION issue with ssg example

Open MatteoGauthier opened this issue 1 year ago • 1 comments

Got an issue when I try to run the ssg example

yarn run example-ssg
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /Users/userr/dev/PeopleProjects/jikji/example/ssg/index.ts
    at new NodeError (node:internal/errors:405:5)
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:99:9)
    at defaultGetFormat (node:internal/modules/esm/get_format:142:36)
    at defaultLoad (node:internal/modules/esm/load:120:20)
    at nextLoad (node:internal/modules/esm/hooks:832:28)
    at load (/private/var/folders/sz/b39nbqfn35g26y1pt_t7j3nr0000gn/T/xfs-f9712a67/dlx-12977/node_modules/ts-node/dist/child/child-loader.js:19:122)
    at nextLoad (node:internal/modules/esm/hooks:832:28)
    at Hooks.load (node:internal/modules/esm/hooks:415:26)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:168:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:807:20) {
  code: 'ERR_UNKNOWN_FILE_EXTENSION'
}

MatteoGauthier avatar Oct 09 '23 08:10 MatteoGauthier