itisnajim / strapi-plugin-fcm

Send FCM notifications from your Strapi app.
MIT License
22 stars 11 forks source link

Error: ./src/plugins/strapi-plugin-fcm couldn't be resolved #8

Closed themtaysw closed 1 year ago

themtaysw commented 1 year ago

just installed it and this error popped up once I ran yarn build

Error: ./src/plugins/strapi-plugin-fcm couldn't be resolved
    at toDetailedDeclaration (/Users/matejmatiasko/Desktop/matysw.com/api/node_modules/@strapi/strapi/lib/core/loaders/plugins/get-enabled-plugins.js:39:15)
itisnajim commented 1 year ago

I've tried yarn on my side and its working, Please try using npm as an alternative instead of yarn and let me know if it works. I am available to assist you. npm uninstall strapi-plugin-fcm && npm install strapi-plugin-fcm@latest npm run build && npm run develop

chandrashekhar07 commented 1 year ago

On a fresh install from yarn, i was also getting the same issues. Like @itisnajim suggested, I have shifted to npm and again I have reverted to yarn. Now it is working perfectly with yarn