Despite having successfully installed the package @freesewing/svg2pdf in the npm section (no icons on incompatibility), I get the following error in the backend:

I tried several way to import it:
//import { svg2pdf } from ‘@freesewing/svg2pdf’;
const svg2pdf = require(‘@freesewing/svg2pdf’);
What am I doing wrong??