Open netmilk opened 9 years ago
:+1:
So it looks like this change hasn't propagated onto NPM. This may be because the version number hasn't changed, so NPM won't think to pull the newer version with this fix. As it stands, the version that NPM is serving up is broken.
Thanks for writing about this because we were having the same issue with Cannot find module 'tv4'
and changing from tv4.min.js
to tv4.js
gave us the solution.
How long does it take for npm to propagate the change?
I am not sure. I suspect it might be because the version number hasn't changed since this tiny bug was fixed, but that is only my suspicion.
I don't think this change has been applied. It is still marked as tv4.min.js
on the master branch.
There is however now a tv4.min.js present in the root. On Oct 6, 2014 7:22 PM, "Limian Wang" notifications@github.com wrote:
I don't think this change has been applied. It is still marked as tv4.min.js on the master branch.
— Reply to this email directly or view it on GitHub https://github.com/geraintluff/tv4/issues/157#issuecomment-58115446.
npm install tv4
does not provide me with the tv4.min.js. I'm still having the same issue.
I'm having the same issue, too.
tv4.min.js
seems to be ignored by npm because of the pattern /*.min.js
written in .npmignore file .
https://github.com/geraintluff/tv4/blob/5f6199477a948ef60069361cf3d8606f001983f6/.npmignore
I pinged and emailed @geraintluff on all known addresses, I hope he checks in soon to republish (I can push to github but not to npm).
Hi - sorry it took me so long to respond. I've pushed a fix tv4.js
in v1.1.4
.
I sincerely apologise for this - I hadn't realised .min.js
versions were in .npmignore
. Local tests and Travis seemed happy, so I hadn't realised there was a problem.
@Bartvds - I've add you as an owner on NPM.
@geraintluff Cool; will be handy for emergencies like this. I'll see if I can harden the build to validate these kind of package reference issues too.
Thanks - I'm afraid I wasn't really aware of what was in .npmignore
, so that was a bit of a surprise. :astonished:
Hi,
The issue with the missing min.js file is still there (because of the content of .npmignore
). Do you plan to change this at some point ?
Thank you.
Hi, I found out that latest release 1.1.3 is not usable. Even if package is installed, it's resulting to:
The reason is that the
main
file declared inpackage.json
is not part of the distributed package. When I switch main totv4.js
which is distributed, it works.Details: