Receiving Unexpected Property on Scripts when line is empty

My scripts in Studio have been running fine, however, in the last day, I have started to get this error:
A total of 2 errors
(UIController.js):
unexpected property
1 more…[Ln 2, Col 26]

There is no content on Line 2 of either Script. Here is the top of a script, for example.

Thanks for your help; I am stumped.

import * as ecs from ‘@8thwall/ecs’ // Importing the ECS library

// Obstacle Controller Component
// Handles control of obstacles for different levels and manages obstacle behavior as per the game state
ecs.registerComponent({
name: ‘obstacleController’,
schema: {
obstacleMoveSpeed: ecs.f32, // Obstacle Movement Speed as a float
leftBound: ecs.f32, // Left boundary where obstacles leave the scene
resetOffset: ecs.f32, // Offset to reposition obstacles to the right (for looping obstacles)
currentLevel: ecs.i32, // Current active level for obstacle control
},
schemaDefaults: {
obstacleMoveSpeed: 9,
leftBound: -200, // Updated left boundary where obstacles leave the scene
resetOffset: 64,
currentLevel: 1, // Start at level 1
},
data: {
gameActive: ecs.boolean, // Is the game currently active
obstacleEntities: ecs.array(ecs.eid), // Array to keep track of obstacle entity IDs (use ECS array type)
},

ecs.array doesn’t exist. You’ll have to keep track of the obstacles in an array above the component definition and then you can reference it that way.