if i change the import like you did i get “Uncaught ReferenceError: jQuery is not defined”, even if i have the jquery and bootstrap scripts(in the right order) in the angular.json. It works instead with the node_module import from the npm install