You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
everytime we try to compile we get a bunche of: ./src/app/app.module.ts:25:0-401 - Error: Module not found: Error: Package path ./icons/modules/classic/regular is not exported from package C:\Users\mobile\node_modules\@awesome.me\kit(see exports field in C:\Users\mobile\node_modules\@awesome.me\kit\package.json)
and
`Error: src/app/app.module.ts:48:8 - error TS2307: Cannot find module '@awesome.me/kit/icons/modules/classic/regular' or its corresponding type declarations.
48 } from "@awesome.me/kit/icons/modules/classic/regular"`
We always have to modify the node_module package.json from: "./icons/classic/regular": { "types": "./icons/modules/classic/regular.d.ts", "import": "./icons/modules/classic/regular.mjs", "require": "./icons/modules/classic/regular.js", "default": "./icons/modules/classic/regular.js" },
to "./icons/modules/classic/regular": { "types": "./icons/modules/classic/regular.d.ts", "import": "./icons/modules/classic/regular.mjs", "require": "./icons/modules/classic/regular.js", "default": "./icons/modules/classic/regular.js" },
When will the module package.json be fixed? Or is there a way we can fix that?
Thanks a lot
Font Awesome version
v6.0.0
Application and Operating System
Ionic/Capacitor native mobile app
Web bug report checklist
I have included a test case because my odds go way up that the team can fix this when I do
Bug description
Hello,
everytime we try to compile we get a bunche of:
./src/app/app.module.ts:25:0-401 - Error: Module not found: Error: Package path ./icons/modules/classic/regular is not exported from package C:\Users\mobile\node_modules\@awesome.me\kit(see exports field in C:\Users\mobile\node_modules\@awesome.me\kit\package.json)
and
`Error: src/app/app.module.ts:48:8 - error TS2307: Cannot find module '@awesome.me/kit/icons/modules/classic/regular' or its corresponding type declarations.
48 } from "@awesome.me/kit/icons/modules/classic/regular"`
We always have to modify the node_module package.json from:
"./icons/classic/regular": { "types": "./icons/modules/classic/regular.d.ts", "import": "./icons/modules/classic/regular.mjs", "require": "./icons/modules/classic/regular.js", "default": "./icons/modules/classic/regular.js" },
to
"./icons/modules/classic/regular": { "types": "./icons/modules/classic/regular.d.ts", "import": "./icons/modules/classic/regular.mjs", "require": "./icons/modules/classic/regular.js", "default": "./icons/modules/classic/regular.js" },
When will the module package.json be fixed? Or is there a way we can fix that?
Thanks a lot
Font Awesome version
v6.0.0
Application and Operating System
Ionic/Capacitor native mobile app
Web bug report checklist
The text was updated successfully, but these errors were encountered: