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
TypeError: Spread syntax requires ...iterable[Symbol.iterator] to be a function
at registerInitialInstrumentations (registerInitial.ts:4:25)
at initializeFaro (initialize.ts:35:3)
at initializeFaro2 (initialize.ts:14:10)
at main.jsx:10:1
I am getting this error when i installed the faro-web-sdk.
in my main.jsx
import { initializeFaro } from '@grafana/faro-web-sdk';
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
-
TypeError: Spread syntax requires ...iterable[Symbol.iterator] to be a function
at registerInitialInstrumentations (registerInitial.ts:4:25)
at initializeFaro (initialize.ts:35:3)
at initializeFaro2 (initialize.ts:14:10)
at main.jsx:10:1
I am getting this error when i installed the faro-web-sdk.
in my main.jsx
import { initializeFaro } from '@grafana/faro-web-sdk';
// Initialize Grafana Faro
initializeFaro({
url: 'http://localhost:3000/api/agent', // Replace with your Grafana instance URL
app: {
name: 'myapp',
version: '1.0.0',
},
});
please clarify me why i am getting this and how to solve this issue.
Beta Was this translation helpful? Give feedback.
All reactions