You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The prepublish script is currently of a form that cannot ever work on a windows machine: test $(npm -v | tr . '\\n' | head -n 1) -ge '4' || exit 1 uses shell-specific syntax. If there is no cross-platform way to run this as a set of shell instructions, then there might be node projects to help turn this into something cross-platform compatible (e.g. shx and the like), or barring that, be turned into a prepublish.js that can be invoked using "prepublish": "node test/prepublish.js".
The
prepublish
script is currently of a form that cannot ever work on a windows machine:test $(npm -v | tr . '\\n' | head -n 1) -ge '4' || exit 1
uses shell-specific syntax. If there is no cross-platform way to run this as a set of shell instructions, then there might be node projects to help turn this into something cross-platform compatible (e.g.shx
and the like), or barring that, be turned into aprepublish.js
that can be invoked using"prepublish": "node test/prepublish.js"
./cc @Andarist
The text was updated successfully, but these errors were encountered: