"export 'Configuration' was not found in 'phrase-js'
Doomkyn opened this issue · 1 comments
Doomkyn commented
Hello.
I'm trying to use the package in Ionic, but when I try to ionic build --prod
I get the following error:
ERROR in ./src/app/services/language-updater.service.ts 17:46-59
"export 'Configuration' was not found in 'phrase-js'
Looks like the thing that breaks up is the import in my service:
import { Configuration, LocalesApi } from "phrase-js";
I'm using "phrase-js": "^1.9.0",
in my package.json
Also tried reinstalling the package, same result.
Also tried with ionic build --prod --clearCache
after resinstalling the package.
Am I doing something wrong?
Thanks for the help.