Installation using npm using a git URL gives a broken install
jh3141 opened this issue · 1 comments
jh3141 commented
Reloading all the dependencies for a project previously using v0.9.0-alpha.2, I found that npm had pulled in v0.9.0-alpha.4, which is apparently empty of actual code:
Andys-Mac-mini:tackta andy$ ls -l node_modules/monet
total 56
-rw-r--r-- 1 andy staff 2708 21 Jun 21:53 CHANGELOG.md
-rw-r--r-- 1 andy staff 1078 21 Jun 21:53 LICENSE
-rw-r--r-- 1 andy staff 5175 21 Jun 21:53 README.md
-rw-r--r-- 1 andy staff 9928 21 Jun 21:54 package.json
Andys-Mac-mini:tackta andy$ grep '\"version\":' node_modules/monet/package.json
"version": "0.9.0-alpha.4"
I'd previously installed from a git URL in order to get the development version. But it seems that doing so relied on the presence of the "dist" directory, which was removed from the repository in commit 5df188e -- is installation directly from github unsupported?
ulfryk commented
is installation directly from github unsupported
Yes, dist
was available in gh repo only temporary for debugging purposes. It's only published to NPM.
Using "monet": "0.9.0-alpha.4"
in "dependencies"
section of your package.json
should work fine.