
Error:-
Phantom installation failed TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string.
Solutions:-
npm install phantomjs-prebuilt@2.1.16 -ignore-scripts
Run this
npm run dev

Output :-

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
Error:-
Phantom installation failed TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string.
Solutions:-
npm install phantomjs-prebuilt@2.1.16 -ignore-scripts
Run this
npm run dev
Output :-