Hi Rudderstack! The Rudderstack integration for Ne...
# support
c
Hi Rudderstack! The Rudderstack integration for NextJS apps is pretty clunky. Would be great if you had something similar to: https://www.highlight.io/docs/getting-started/client-sdk/nextjs Big fan of your product overall!
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Nick are you using the JS SDK v3 or the legacy JS SDK with your NextJS app. The JS SDK v3 is in beta so it may be a little clunky. I will ask the team to create a doc for the same. Sharing the current doc to setup the SDK on your NextJS app in case you missed this. https://www.rudderstack.com/docs/user-guides/how-to-guides/rudderstack-jamstack-integration/rudderstack-nextjs-integration/
c
Yes I've tried with both V2 and V3, it looks like the
/bundled
import is not working?
Copy code
Import trace for requested module:
../../node_modules/@rudderstack/analytics-js/dist/npm/modern/esm/index.js
../../packages/components/src/rudder/RudderInit.tsx
 âš  ../../node_modules/@rudderstack/analytics-js/dist/npm/modern/esm/index.js
Critical dependency: the request of a dependency is an expression
I get this error a bunch, although doesn't seem to affect anything
Also getting this:
Copy code
Import trace for requested module:
../../node_modules/@rudderstack/analytics-js/dist/npm/modern/esm/index.js
../../packages/components/src/rudder/RudderInit.tsx
 RS SDK  CapabilitiesManager:: The "sessionStorage" storage type is unavailable. TypeError: Cannot read properties of undefined (reading 'setItem')
m
Does that mean that inspite of the errors you are able to send events?
Also you can ignore the second message as per the team
c
yes I was able to— I decided to just remove rudderstack from our frontend given all these issues, and will just send events from the backend
m
Oh ok. Thanks for the update.