![](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)
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 :-