08 Jul 2024 06:36 AM - last edited on 08 Jul 2024 08:58 AM by MaciejNeumann
Hi Team ,
I am trying to develop a new app, but it is failing with the error below. Any idea what the error could be?
Thank you in advance,
Akhil Jayendran
Solved! Go to Solution.
08 Jul 2024 06:46 AM
Hello,
What happen if you run npm install?
08 Jul 2024 07:05 AM - edited 08 Jul 2024 07:27 AM
Hello @islam_zidan
It is showing up to date.
c:\my_test>npm install
up to date, audited 65 packages in 1s
12 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Regards,
Akhil Jayendran
08 Jul 2024 08:39 AM
Hello @Akhil-Jayendran
Please update the nodejs to the v20.15.0 version and try again,
Thanks,
Islam
08 Jul 2024 09:36 AM
Hi @Akhil-Jayendran, from your last message it seems that npm install worked, are you still having issues? Can you share the output of npm start? Additionally feel free to check out our connectivity issues guide.
08 Jul 2024 02:50 PM
Hi @educampver @islam_zidan ,
Nothing worked. Getting same error even after use v20.15.0 and npm install .
Where I can find which dependencies are failing ?
Regards,
Akhil Jayendran
08 Jul 2024 03:12 PM
I now see something I missed before, you must run npm install in the folder created by the CLI. In this case it would be /myapp, please try running npm install in that folder.
11 Jul 2024 04:36 AM
Hi @educampver ,
Thank your for your input, I have installed the npm under the folder myapp and try to start the development server it automatically opens the url, but getting 404 error. Anything I missed here ?
Error 404 – We can't find this page – Dynatrace
Regards,
Akhil Jayendran
11 Jul 2024 07:19 AM - edited 12 Jul 2024 08:14 AM
Hi @Akhil-Jayendran,
The link you've shared is missing an environment url.
This environment can be set during the setup process by adding a flag to the command like so:
npx dt-app@latest create --environment-url https://your_environment_url_placeholder
It can still be added and modified later on in the projects' app.config.json file with the following line:
"environmentUrl": https://your_environment_url_placeholder
Alternatively, if you're using Visual Studio Code, you can download the Dynatrace extension and change it under "Configure your app" > "Environment Url".
15 Jul 2024 03:39 PM
Hi @StefanKern ,
Thank you for the information provided above. Do we need a DPS license enabled to work with the app, or can we test it with a free trial or any playground available for test ?
Regards,
Akhil Jayendran
16 Jul 2024 11:54 AM
You can get started creating an app in our playground environment: https://wkf10640.apps.dynatrace.com/
Within this environment you will be able to create and test your app, however you will not be able to deploy your app.
Hope this helps.
Thanks, Penny