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
When using Nextjs v14.2.4 and @next/third-parties v14.2.4 I can't import GoogleTagManager into layout.jsx because it says "Cannot resolve symbol 'GoogleTagManager'
If I use TypeScript it seems to work, what do I need to do to make it work only using JavaSscript?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
When using Nextjs v14.2.4 and @next/third-parties v14.2.4 I can't import GoogleTagManager into layout.jsx because it says "Cannot resolve symbol 'GoogleTagManager'
If I use TypeScript it seems to work, what do I need to do to make it work only using JavaSscript?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions