Unable to use bin #2157
Unanswered
MatheusDS4
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Global
I have run
npm i -g ts-node.Binary
<project>/bin/webpackNPM manifest
Here is my NPM manifest (I've omitted unnecessary fields):
<project>/package.json{ "bin": { "webpack": "./bin/webpack" }, "dependencies": { "typescript": "^5.8.3" }, "devDependencies": { "ts-node": "^10.9.2" } }TypeScript configuration
<project>/tsconfig.json{ "compilerOptions": { "target": "es2017", "noEmit": true, "rootDir": "src", "moduleResolution": "node", "module": "commonjs", "esModuleInterop": true, "resolveJsonModule": true, /* Additional Checks */ "strict": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "lib": ["es2017"], "types": ["node"], "typeRoots": ["node_modules/@types"] }, "include": ["src/**/*.ts"], "exclude": ["node_modules/**"] }I am getting this error when I invoke my binary through the command line:
Beta Was this translation helpful? Give feedback.
All reactions