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
Importing fileTypeFromBuffer using babel transpiler with Node v16.13.1 throws an error, am I doing something wrong? (I also tried using dynamic import and give the same error)
Error message: Instead change the require of index.js in $FILE_PATH to a dynamic import() which is available in all CommonJS modules
Importing
fileTypeFromBuffer
using babel transpiler with Nodev16.13.1
throws an error, am I doing something wrong? (I also tried using dynamic import and give the same error)Error message:
Instead change the require of index.js in $FILE_PATH to a dynamic import() which is available in all CommonJS modules
file-type version:
17.1.1
babel deps:
babel.rc:
file-type
v16.5.3
works without issuesThe text was updated successfully, but these errors were encountered: