-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli exiting with code 1 without logs #90
Comments
I'm currently unable to reproduce the behaviour you are seeing. It would suggest to me that there is possibly an issue with finding the source maps, seeing as that's the step the
As this is a public thread, if there is any information you would prefer to share with us directly, then please feel free to open a support ticket with us by contacting [email protected], and referencing this issue: #90 |
Hi @mclack
Yes, no source maps were sent to Bugsnag, I followed the path:
Yes, it's there, and yes here we use A fragment of out package.json file: "scripts":{
"build": "tsc",
} our tsconfig.json {
"compilerOptions": {
"sourceMap": true,
"removeComments": true,
"module": "CommonJS",
"moduleResolution": "node",
"target": "es2019",
"types": ["node", "jest"],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"noEmit": false,
"skipLibCheck": true,
"preserveWatchOutput": true,
"assumeChangesOnlyAffectDirectDependencies": true,
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": "src",
"rootDir": "src",
"outDir": "build",
"isolatedModules": true
},
"exclude": ["node_modules", "scripts"],
"include": ["./src"]
}
Yes, I've been running on the project root, and when I build the project, it creates the The .map files are there.
Yes! You are correct!
Yes, I tried, and another thing that I did was run it in my local machine and on our Kubernetes cluster using a Job deployment and got the same error result.
Yes, we use express and GraphQL, following a fragment of our package.json: "dependencies": {
"@apollo/server": "4.9.3",
"@apollo/server-plugin-landing-page-graphql-playground": "4.0.1",
"@apollo/subgraph": "2.5.4",
"@bugsnag/js": "7.21.0",
"@bugsnag/plugin-express": "7.19.0",
"@bugsnag/source-maps": "2.3.1",
"express": "4.18.2",
"graphql": "16.8.1",
"graphql-parse-resolve-info": "4.13.0",
"graphql-relay": "0.10.0",
"graphql-sequelize": "9.5.1",
"graphql-tag": "2.12.6",
"graphql-voyager": "2.0.0",
"ts-node": "10.9.1",
"tsconfig-paths": "4.2.0",
"typescript": "5.2.2",
"utility-types": "3.10.0",
... other dependencies
},
Yes, it's a placeholder, I got my key in |
Thanks for the additional information. We're aware that you have also opened a ticket with us regarding this issue by contacting [email protected]. As such, we will close the current issue on GitHub, and will continue to investigate this and provide support to you on the support ticket. |
Hi everyone.
I have been facing an issue with the CLI that exits with code 1 without showing any log to help me debug.
I'm running the following command:
First, I build my nodeJS app, and it creates the
build
folder with my source maps because my tsconfig file has the optionsourceMaps: true
After that I run the following command:
So, I received the following output in my terminal.
After that, it exits with code 1 without logs to help me debug.
My Node version is: v18.18.2
My Yarn version is: 3.6.1
bugsnag cli version: v2.3.1
Any idea?
The text was updated successfully, but these errors were encountered: