What causes error “Connection test failed: spawn npm; ENOENT” when creating new Strapi project with MongoDB?

I am trying to create a new Strapi app on Ubuntu 16.4 using MongoDB. After stepping through the tutorial, here: https://strapi.io/documentation/3.0.0-beta.x/guides/databases.html#mongodb-installation, I get the following error: Connection test failed: spawn npm; ENOENT The error seems obvious, but I’m having issues getting to the cause of it. I’ve installed latest version of MongoDB and have ensured…

Details

amcharts doesn’t represent data in right format

I’m retrieving value from database and pushing it to amchart (XYChart) the value of x Axes not working correctly. this is the chart code var chart5; function generateChart5(json) { chart5 = am4core.create(“chart5-data”, am4charts.XYChart); chart5.data = json; var dateAxis = chart5.xAxes.push(new am4charts.DateAxis()); dateAxis.renderer.minGridDistance = 50; function createAxisAndSeries(field, name, opposite, bullet) { var valueAxis = chart5.yAxes.push(new am4charts.ValueAxis());…

Details