Error compiling after importing the npm sp-page-context package into my solution

I receive this error when importing the sp-page-context in my angular solution:
ERROR in ./node_modules/@microsoft/sp-core-library/lib/SPCoreLibraryStrings.resx.js
Module not found: Error: Unable to resolve & resx-strings & # 39; in & # 39; XXXXXXXXXXXXX node_modules @ microsoft sp-core-library lib & # 39;
ERROR in ./node_modules/@microsoft/sp-dynamic-data/lib/loc/Strings.resx.js
Module not found: Error: Can not resolve & # 39; resx-strings & # 39; in & # 39; XXXXXXXXXXXXX node_modules @ microsoft sp-dynamic-data lib loc & # 39;
ERROR in ./node_modules/@microsoft/sp-page-context/lib/loc/Strings.resx.js
Module not found: Error: Unable to resolve & resx-strings & # 39; in & # 39; XXXXXXXXXXXXX node_modules @ microsoft sp-page-context lib loc & # 39;