For Workers & Pages, what is the name of the domain?
taletunes.pages.dev
What is the error number?
127
What is the error message?
16:57:37.176 sh: 1: ts-json-as-const: not found 16:57:37.200 Failed: Error while executing user command. Exited with error code: 127 16:57:37.210 Failed: build command exited with code: 1 16:57:37.990 Failed: error occurred while running build command
What is the issue or error you’re encountering
I use the command npx ts-json-as-const src/routes/gameSection/TrackPartition.json in the build script. I expect that the node module ts-json-as-const will be installed and exectued without errors. Instead, the command ts-json-as-const is not found.
What steps have you taken to resolve the issue?
I tried to have ts-json-as-const in the devDependencies, but I get the same error. Locally, both variants work fine.
What are the steps to reproduce the issue?
npx ts-json-as-const src/routes/gameSection/TrackPartition.json in the build script