XR definition conflicts after updating to 2.66.1-pre

Previous version: 2.49.1-pre
When attempting to do a web distribution build, I’m now seeing a stack of errors related to XR objects being defined twice. Any ideas on how to clear these warnings? Build won’t complete until I do.

Original Post on Discord

by user 692379251592396851

Can you check if your tsconfig.json has "skipLibCheck": true ?

Doesn’t look like it:

  "compilerOptions": {
    "target": "ESNext",
    "useDefineForClassFields": true,
    "module": "ESNext",
    "lib": ["ESNext", "DOM"],
    "moduleResolution": "Node",
    "strict": true,
    "sourceMap": true,
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "noEmit": true,
    "noUnusedLocals": false,
    "noUnusedParameters": true,
    "noImplicitReturns": true,
    "noImplicitAny": false,
    "experimentalDecorators": true
  },
  "include": ["./src"]
}```

*by user 692379251592396851*

Adding it should fix it

I’ll give that a shot, thanks!

by user 692379251592396851

Looks like that did it!

by user 692379251592396851

Great