I am unable to run ‘npm run start’ cmd while creating custom app, here is the error that I am getting, please could you help me in resolving this error
C:\Users\xxxxx\tansre-3>npm run start
npm ERR! Missing script: “start”
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in: C:\Users\xxxxx\AppData\Local\npm-cache\_logs\2024-11-05T21_38_41_992Z-debug-0.log
You may simply be missing the `start` script that should be located in in the `package.json` file. I would verify that this script actually exists before running.
DT-APP: Started local development server
> <no file> - Error: Cannot find tsconfig file “tsconfig.json”
> <no file> - Error: Could not resolve “C:\\Users\\xxxx\\tansre-3\\src\\main.tsx”
× Authenticating…
Error: SSO-URL for ‘https://{environmentid}.apps.dynatrace.com’ could not be processed.
self-signed certificate in certificate chain
If you need further assistance visit the connectivity troubleshooting guide here: Troubleshoot connectivity | Dynatrace Developer
Looks like I am still missing something. Please advise
First of all, try to create project in a disk different from “C” disk. If “C” is your only available disk, then try to create one folder like “src” under “C” drive and then create a project under “C/src/” because sometimes permissions also create problem.
After you created your project using “npx dt-app@latest create” and you followed the instructions given there. Try to point out to the same directory i mean be in the root directory of the project and then run the command like:
Just a very simple question, how did you instal this tool in the first place: I am getting this error: C:\Users\1\NodeJS\node-v22.16.0-win-x64>npm install -g @dynatrace/dt-app
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@dynatrace%2Fdt-app - Not found
npm error 404
npm error 404 ‘@dynatrace/dt-app@*’ is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: C:\Users\1\AppData\Local\npm-cache\_logs\2025-06-16T14_12_54_833Z-debug-0.log - Any feedback is much appreciated?