We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugs on Windows.
Error logs:
03:56:57.992 runScript: running D:/Tools/YLT/node_modules/phantomas/d:\Tools\YLT\node_modules\phantomas\node_modules\ana lyze-css/bin/analyze-css.js D:/Tools/YLT/node_modules/phantomas/d:\Tools\YLT\node_modules\phantomas\node_modules\analyze-css/bin/analyze-css.js {"event":"log","data":["03:56:57.997 \u001b[91m\u001b[1mrunScript: failed running D:/Tools/YLT/node_modules/phantomas/d: \\Tools\\YLT\\node_modules\\phantomas\\node_modules\\analyze-css/bin/analyze-css.js --url http://localhost:3000/styleshe ets/style.css --json!\u001b[22m\u001b[39m"]} phantomas: (3221225477) Failed to parse JSON with the results
It is a windows incompatible bug, I have fixed by change this line:
https://github.com/macbre/phantomas/blob/devel/core/phantomas.js#L862
if (!fs.isAbsolute(script)) { // if (script.indexOf('/') !== 0) {
The text was updated successfully, but these errors were encountered:
Be platform agnostic and use fs.isAbsolute()
f5f9aa2
Fixes #672
No branches or pull requests
Bugs on Windows.
Error logs:
It is a windows incompatible bug, I have fixed by change this line:
https://github.com/macbre/phantomas/blob/devel/core/phantomas.js#L862
The text was updated successfully, but these errors were encountered: