You import the default member by giving it a name of your choice. import {Entity, Column, PrimaryGeneratedColumn} de 'typeorm'; SyntaxError: impossible d'utiliser l'instruction d'importation en dehors d'un module Qu'est-ce que je manque? As modules support special keywords and features, we must tell the browser that a script should be treated as a module, by using the attribute