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
Could someone just give me some help?
I am trying to import the @capacitor-community/fcm in my NEXTJS project.
And I am facing this issue.
There is no issue for me to import { PushNotifications } from '@capacitor/push-notifications';
But when I am trying to import the import { FCM } from "@capacitor-community/fcm";
I am seeing the following issue.
info - Collecting page data ./[mypath]/node_modules/@capacitor-community/fcm/dist/esm/index.js:1
import { registerPlugin } from "@capacitor/core";
^^^^^^
SyntaxError: Cannot use import statement outside a module
The text was updated successfully, but these errors were encountered:
Could someone just give me some help? I am trying to import the @capacitor-community/fcm in my NEXTJS project. And I am facing this issue.
There is no issue for me to import { PushNotifications } from '@capacitor/push-notifications';
But when I am trying to import the import { FCM } from "@capacitor-community/fcm";
I am seeing the following issue.
info - Collecting page data ./[mypath]/node_modules/@capacitor-community/fcm/dist/esm/index.js:1 import { registerPlugin } from "@capacitor/core"; ^^^^^^
SyntaxError: Cannot use import statement outside a module
Could someone just give me some help?
I am trying to import the @capacitor-community/fcm in my NEXTJS project.
And I am facing this issue.
There is no issue for me to import { PushNotifications } from '@capacitor/push-notifications';
But when I am trying to import the import { FCM } from "@capacitor-community/fcm";
I am seeing the following issue.
info - Collecting page data ./[mypath]/node_modules/@capacitor-community/fcm/dist/esm/index.js:1
import { registerPlugin } from "@capacitor/core";
^^^^^^
SyntaxError: Cannot use import statement outside a module
The text was updated successfully, but these errors were encountered: