Make gulp,js fully portable and runnable from a project git repo without any dependencies/install on dev env #2558
Unanswered
therobyouknow
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Relates to:
nodejs/node#37914
An install of gulp done some time ago, may not work more recently due to deprecation of dependencies it would appear.
Also it seems difficult to be able to repeat an install based on steps done some time ago. And gulp doesn't appear to work with the latest version of node/npm:
https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node
For me I had to downgrade from node LTS 14.x to 11.x:
https://stackoverflow.com/a/57804190/227926
And then install upath
to get around the primordial error issue.
It does seem to me that node-based/npm-based or dependent software like gulp require a disproportionate effort for the developer to setup, maintain and try to make repeatable for their colleages, because of above and also:
https://stackoverflow.com/questions/5926672/where-does-npm-install-packages
Why not make change 1-dimensional: i.e. snapshot everything - and I mean everything in git, so that another developer can just git pull the repo and expect to be able to setup their environment as working and identical to the original dev that git pushed.
Beta Was this translation helpful? Give feedback.
All reactions