![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-51.png)
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
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-52.png)
Output :-
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-53-1024x451.png)
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
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 :-