Is there a way I can fix this in the package json.. because we use bitbucket to deploy and build and while this works on my machine I will need to try it to see if this will work on bitbucket
yes, the commands i gave you should update both package.json and package-lock.json, so you just need to update your git repository and deploy again (assuming that your deploy installs the deps from fresh state)
btw. perhaps you can help on this . I have never gotten this to work in my Mac. Is there a trick to this.. just using the project I sent? Jan said you use a Mac.. what is the magic?? :)
you probably have >= macOS Sierra in which phantom 1.9.8 does not work, i use OSX El Capitan so i don't have this problem 😃
as the error says you should use phantom 2 in macOS Sierra, you can find some steps to do it here