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
I am needing to get and update User Generated Content from my AgilityCMS instance. I want to use the https://www.npmjs.com/package/agility-ugc package because it is only working system to make the request I need but when I import the package into a component I get the following error:
Server Error
SyntaxError: Cannot use import statement outside a module
This error happened while generating the page. Any console logs will be displayed in the terminal window.
on the line: import Agility from 'agility'
Is the a way to get the agility-ugc package updated or can a similar package be created that is compatible with NextJS?
The text was updated successfully, but these errors were encountered:
I am needing to get and update User Generated Content from my AgilityCMS instance. I want to use the https://www.npmjs.com/package/agility-ugc package because it is only working system to make the request I need but when I import the package into a component I get the following error:
Server Error
SyntaxError: Cannot use import statement outside a module
This error happened while generating the page. Any console logs will be displayed in the terminal window.
on the line: import Agility from 'agility'
Is the a way to get the agility-ugc package updated or can a similar package be created that is compatible with NextJS?
The text was updated successfully, but these errors were encountered: