How to fix the start script missing error in Npm
In this post we will give you information about How to fix the start script missing error in Npm. Hear we will give you detail about How to fix the start script missing error in NpmAnd how to use it also give you demo for it if it is necessary.
we are going to learn about how to fix the start script missing error when running an npm start command.
If you don’t specify a start script inside the package.json file and trying to use npm start command, you will see the following error.
➜ react-track git:(master) ✗ npm startnpm ERR! missing script: startnpm ERR! A complete log of this run can be found in:npm ERR! /Users/saigowtham/.npm/_logs/2020-04-26T08_52_43_410Z-debug.log
To fix this error, you need to add a start script to your package.json file.
PHP Laravel 5: Class 'MongoDBDriverManager' not found
In this post we will give you information about PHP Laravel 5: Class 'MongoDBDriverManager' not found. Hear we will give you detail about PHP Laravel 5: Class 'MongoDBDriverManager' not foundAnd how to use it also give you demo for it if it is necessary.
In this post, you will find the solution for issue :.
FatalThrowableError in Client.php line 81: Class 'MongoDBDriverManager' not found
When you are going to connect MongoDB database with any PHP application then you can face this issue if you don't have PHP MongoDB driver.
So first you need to run following command to install Mongodb PHP extension in Ubuntu :
sudo apt-get install php-mongodb
Now restart the server :
sudo service apache2 restart
Try this..
Hope this code and post will helped you for implement PHP Laravel 5: Class 'MongoDBDriverManager' not found. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs
Example:
"scripts": { "start": "node app.js"},
Here I added a start script app.js, in your case it will be some other file.
Hope this code and post will helped you for implement How to fix the start script missing error in Npm. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs