Script Parse Error

When I add attributes to a script and then try to parse the script in the interface I get this error in my inspector:

Error: invalid:exception: Invalid path for: .name
    at Connection.handleMessage (editor.js:13105)
    at socket.onmessage (editor.js:13058)
    at WebSocket.connection.socket.onmessage (editor.js:14780)

Any solutions?

Can you post a link to a repro?