Open shuangwhywhy opened 6 years ago
After some debugging, I found it conflicts with webpack config "context"
in my case phantomjs.path
is also wrong but pointing to /usr/bin/phantomjs
Solved with npm rebuild phantomjs-prebuilt
When the path is wrong you have to npm rebuild
The
phantomjs.path
is incorrect. It concats"node_modules/_phantomjs-prebuilt@2.1.16@phantomjs-prebuilt/lib/phantom/bin/phantomjs"
to the parent folder of my working dir, so never would it find the bin.