Sourcemap position not found for trace typeerror undefined is not a constructor