Closed quetzalsly closed 3 years ago
Speaking of the first issue, npm doesn't include -beta.x
versions in >= ...
ranges, so it's unfortunately required to use --legacy-peer-deps
(or --force
) on npm v7 to install beta versions. npm v6 shows a warning, not an error, by default. tdl-tdlib-ffi
should have the same issue here.
About the second issue, it looks like I forgot to add Windows-only files to the files
field in package.json, sorry. I just released tdl-tdlib-addon@0.8.2
that fixes this.
Several issues encountered on win7 node 15.1.0 npm 7.0.8 TDL version 7.0.0.beta1 and addon version 0.8.0.
--force lets it install but does not build anything.
2.
So the result is ofcourse
Error: Cannot f ind module '../build/Release/td.node'
Right now going back to ffi I dont even know the difference between ffi and addon but addon just is not usable for me.