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
I am using previous version (v1.4.1) of node-ffprobe-installer, and my node is version 14, works very well.
But recently I have upgraded node-ffprobe-installer to v2.1.2, got problem and can not work.
Just would like to know why changing "require('os')" to "require('node:os')"? My error log shows this is the problem from ...
IMHO, since require('os') works on both old versions and new versions of node, seems require('os') and require('path') are better ways?
Great thanks for help.
esm is the world’s most advanced ECMAScript module loader. This fast, production ready, zero dependency loader is all you need to support ECMAScript modules in Node 6+.
esm is widely used (2,581,114 downloads per week now) but seems not that active for years. And "node:XXX" is not supported by esm for now: standard-things/esm#904
Hello,
I am using previous version (v1.4.1) of node-ffprobe-installer, and my node is version 14, works very well.
But recently I have upgraded node-ffprobe-installer to v2.1.2, got problem and can not work.
Just would like to know why changing "require('os')" to "require('node:os')"? My error log shows this is the problem from ...
IMHO, since require('os') works on both old versions and new versions of node, seems require('os') and require('path') are better ways?
Great thanks for help.
https://github.com/SavageCore/node-ffprobe-installer/blob/v2.1.2/index.js
https://github.com/SavageCore/node-ffprobe-installer/blob/v1.4.1/index.js
The text was updated successfully, but these errors were encountered: