If typing installer is disabled invalidate all the resolutions from typings cache

This change finally makes all tests pass incremental tests for matching resolutions and program structuture
This commit is contained in:
Sheetal Nandi
2023-10-12 14:34:14 -07:00
parent 628eb554f5
commit f01df5f73f
11 changed files with 815 additions and 881 deletions
+56 -11
View File
@@ -99,6 +99,8 @@ export interface ResolutionCache {
fileWatchesOfAffectingLocations: Map<string, FileWatcherOfAffectingLocation>;
packageDirWatchers: Map<Path, PackageDirWatcher>;
dirPathToSymlinkPackageRefCount: Map<Path, number>;
countResolutionsResolvedWithGlobalCache(): number;
countResolutionsResolvedWithoutGlobalCache(): number;
startRecordingFilesWithChangedResolutions(): void;
finishRecordingFilesWithChangedResolutions(): Path[] | undefined;
@@ -138,6 +140,8 @@ export interface ResolutionCache {
): ResolvedModuleWithFailedLookupLocations;
invalidateResolutionsOfFailedLookupLocations(): boolean;
invalidateResolutionsWithGlobalCachePass(): void;
invalidateResolutionsWithoutGlobalCachePass(): void;
invalidateResolutionOfFile(filePath: Path): void;
removeResolutionsOfFile(filePath: Path): void;
removeResolutionsFromProjectReferenceRedirects(filePath: Path): void;
@@ -169,6 +173,7 @@ export interface ResolutionWithFailedLookupLocations {
// Files that have this resolution using
files?: Set<Path>;
alternateResult?: string;
globalCacheResolution?: ResolvedModuleWithFailedLookupLocations | false;
}
/** @internal */
@@ -537,16 +542,20 @@ function resolveModuleNameUsingGlobalCache(
const host = getModuleResolutionHost(resolutionHost);
const primaryResult = ts_resolveModuleName(moduleName, containingFile, compilerOptions, host, moduleResolutionCache, redirectedReference, mode);
// return result immediately only if global cache support is not enabled or if it is .ts, .tsx or .d.ts
if (!resolutionHost.getGlobalTypingsCacheLocation) {
if (!resolutionHost.getGlobalTypingsCacheLocation || primaryResult.globalCacheResolution !== undefined) {
return primaryResult;
}
// otherwise try to load typings from @types
const globalCache = resolutionHost.getGlobalTypingsCacheLocation();
if (globalCache !== undefined && !isExternalModuleNameRelative(moduleName) && !(primaryResult.resolvedModule && extensionIsTS(primaryResult.resolvedModule.extension))) {
if (!isExternalModuleNameRelative(moduleName) && !(primaryResult.resolvedModule && extensionIsTS(primaryResult.resolvedModule.extension))) {
if (globalCache === undefined) {
primaryResult.globalCacheResolution = false;
return primaryResult;
}
// create different collection of failed lookup locations for second pass
// if it will fail and we've already found something during the first pass - we don't want to pollute its results
const { resolvedModule, failedLookupLocations, affectingLocations, resolutionDiagnostics } = loadModuleFromGlobalCache(
primaryResult.globalCacheResolution = loadModuleFromGlobalCache(
Debug.checkDefined(resolutionHost.globalCacheResolutionModuleName)(moduleName),
resolutionHost.projectName,
compilerOptions,
@@ -554,12 +563,12 @@ function resolveModuleNameUsingGlobalCache(
globalCache,
moduleResolutionCache,
);
if (resolvedModule) {
if (primaryResult.globalCacheResolution.resolvedModule) {
// Modify existing resolution so its saved in the directory cache as well
(primaryResult.resolvedModule as any) = resolvedModule;
primaryResult.failedLookupLocations = updateResolutionField(primaryResult.failedLookupLocations, failedLookupLocations);
primaryResult.affectingLocations = updateResolutionField(primaryResult.affectingLocations, affectingLocations);
primaryResult.resolutionDiagnostics = updateResolutionField(primaryResult.resolutionDiagnostics, resolutionDiagnostics);
(primaryResult.resolvedModule as any) = primaryResult.globalCacheResolution.resolvedModule;
primaryResult.failedLookupLocations = updateResolutionField(primaryResult.failedLookupLocations, primaryResult.globalCacheResolution.failedLookupLocations);
primaryResult.affectingLocations = updateResolutionField(primaryResult.affectingLocations, primaryResult.globalCacheResolution.affectingLocations);
primaryResult.resolutionDiagnostics = updateResolutionField(primaryResult.resolutionDiagnostics, primaryResult.globalCacheResolution.resolutionDiagnostics);
return primaryResult;
}
}
@@ -572,7 +581,10 @@ function resolveModuleNameUsingGlobalCache(
export type GetResolutionWithResolvedFileName<T extends ResolutionWithFailedLookupLocations = ResolutionWithFailedLookupLocations, R extends ResolutionWithResolvedFileName = ResolutionWithResolvedFileName> = (resolution: T) => R | undefined;
/** @internal */
export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootDirForResolution: string, logChangesWhenResolvingModule: boolean): ResolutionCache {
export function createResolutionCache(
resolutionHost: ResolutionCacheHost,
rootDirForResolution: string,
): ResolutionCache {
let filesWithChangedSetOfUnresolvedImports: Path[] | undefined;
let filesWithInvalidatedResolutions: Set<Path> | undefined;
let filesWithInvalidatedNonRelativeUnresolvedImports: ReadonlyMap<Path, readonly string[]> | undefined;
@@ -590,6 +602,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
let startsWithPathChecks: Set<Path> | undefined;
let isInDirectoryChecks: Set<Path> | undefined;
let allModuleAndTypeResolutionsAreInvalidated = false;
let resolutionsWithGlobalCachePassAreInvalidated = false;
let resolutionsWithoutGlobalCachePassAreInvalidated = false;
const getCurrentDirectory = memoize(() => resolutionHost.getCurrentDirectory!());
const cachedDirectoryStructureHost = resolutionHost.getCachedDirectoryStructureHost();
@@ -621,6 +635,9 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
moduleResolutionCache.getPackageJsonInfoCache(),
);
let resolutionsResolvedWithGlobalCache = 0;
let resolutionsResolvedWithoutGlobalCache = 0;
const directoryWatchesOfFailedLookups = new Map<Path, DirectoryWatchesOfFailedLookup>();
const fileWatchesOfAffectingLocations = new Map<string, FileWatcherOfAffectingLocation>();
const rootDir = getRootDirectoryOfResolutionCache(rootDirForResolution, getCurrentDirectory);
@@ -647,6 +664,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
fileWatchesOfAffectingLocations,
packageDirWatchers,
dirPathToSymlinkPackageRefCount,
countResolutionsResolvedWithGlobalCache: () => resolutionsResolvedWithGlobalCache,
countResolutionsResolvedWithoutGlobalCache: () => resolutionsResolvedWithoutGlobalCache,
watchFailedLookupLocationsOfExternalModuleResolutions,
getModuleResolutionCache: () => moduleResolutionCache,
startRecordingFilesWithChangedResolutions,
@@ -664,6 +683,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
hasChangedAutomaticTypeDirectiveNames: () => hasChangedAutomaticTypeDirectiveNames,
invalidateResolutionOfFile,
invalidateResolutionsOfFailedLookupLocations,
invalidateResolutionsWithGlobalCachePass,
invalidateResolutionsWithoutGlobalCachePass,
setFilesWithInvalidatedNonRelativeUnresolvedImports,
createHasInvalidatedResolutions,
isFileWithInvalidatedNonRelativeUnresolvedImports,
@@ -686,12 +707,16 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
resolvedFileToResolution.clear();
resolutionsWithFailedLookups.clear();
resolutionsWithOnlyAffectingLocations.clear();
resolutionsResolvedWithGlobalCache = 0;
resolutionsResolvedWithoutGlobalCache = 0;
failedLookupChecks = undefined;
startsWithPathChecks = undefined;
isInDirectoryChecks = undefined;
affectingPathChecks = undefined;
affectingPathChecksForFile = undefined;
allModuleAndTypeResolutionsAreInvalidated = false;
resolutionsWithGlobalCachePassAreInvalidated = false;
resolutionsWithoutGlobalCachePassAreInvalidated = false;
moduleResolutionCache.clear();
typeReferenceDirectiveResolutionCache.clear();
moduleResolutionCache.update(resolutionHost.getCompilationSettings());
@@ -1027,7 +1052,7 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
),
getResolutionWithResolvedFileName: getResolvedModuleFromResolution,
shouldRetryResolution: resolution => !resolution.resolvedModule || !resolutionExtensionIsTSOrJson(resolution.resolvedModule.extension),
logChanges: logChangesWhenResolvingModule,
logChanges: !!resolutionHost.getGlobalTypingsCacheLocation,
deferWatchingNonRelativeResolution: true, // Defer non relative resolution watch because we could be using ambient modules
});
}
@@ -1102,6 +1127,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
) {
(resolution.files ??= new Set()).add(filePath);
if (resolution.files.size !== 1) return;
if (resolution.globalCacheResolution) resolutionsResolvedWithGlobalCache++;
else if (resolution.globalCacheResolution === false) resolutionsResolvedWithoutGlobalCache++;
if (!deferWatchingNonRelativeResolution || isExternalModuleNameRelative(name)) {
watchFailedLookupLocationOfResolution(resolution);
}
@@ -1378,6 +1405,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
Debug.checkDefined(resolution.files).delete(filePath);
if (resolution.files!.size) return;
resolution.files = undefined;
if (resolution.globalCacheResolution) resolutionsResolvedWithGlobalCache--;
if (resolution.globalCacheResolution === false) resolutionsResolvedWithoutGlobalCache--;
const resolved = getResolutionWithResolvedFileName(resolution);
if (resolved && resolved.resolvedFileName) {
const key = resolutionHost.toPath(resolved.resolvedFileName);
@@ -1558,6 +1587,13 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
}
function invalidateResolutionsWithGlobalCachePass() {
if (resolutionsResolvedWithGlobalCache) resolutionsWithGlobalCachePassAreInvalidated = true;
}
function invalidateResolutionsWithoutGlobalCachePass() {
if (resolutionsResolvedWithoutGlobalCache) resolutionsWithoutGlobalCachePassAreInvalidated = true;
}
function invalidateResolutionsOfFailedLookupLocations() {
if (allModuleAndTypeResolutionsAreInvalidated) {
affectingPathChecksForFile = undefined;
@@ -1569,6 +1605,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
startsWithPathChecks = undefined;
isInDirectoryChecks = undefined;
affectingPathChecks = undefined;
resolutionsWithGlobalCachePassAreInvalidated = false;
resolutionsWithoutGlobalCachePassAreInvalidated = false;
return true;
}
let invalidated = false;
@@ -1582,7 +1620,10 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
affectingPathChecksForFile = undefined;
}
if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks && !affectingPathChecks) {
if (
!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks && !affectingPathChecks &&
!resolutionsWithGlobalCachePassAreInvalidated && !resolutionsWithoutGlobalCachePassAreInvalidated
) {
return invalidated;
}
@@ -1593,6 +1634,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
isInDirectoryChecks = undefined;
invalidated = invalidateResolutions(resolutionsWithOnlyAffectingLocations, canInvalidatedFailedLookupResolutionWithAffectingLocation) || invalidated;
affectingPathChecks = undefined;
resolutionsWithGlobalCachePassAreInvalidated = false;
resolutionsWithoutGlobalCachePassAreInvalidated = false;
return invalidated;
}
@@ -1612,6 +1655,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
function canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution: ResolutionWithFailedLookupLocations) {
if (resolutionsWithGlobalCachePassAreInvalidated && resolution.globalCacheResolution) return true;
if (resolutionsWithoutGlobalCachePassAreInvalidated && resolution.globalCacheResolution === false) return true;
return !!affectingPathChecks && resolution.affectingLocations?.some(location => affectingPathChecks!.has(location));
}
+2
View File
@@ -7998,6 +7998,8 @@ export interface ResolvedModuleWithFailedLookupLocations {
* have been resolvable under different module resolution settings.
*/
alternateResult?: string;
/** @internal */
globalCacheResolution?: ResolvedModuleWithFailedLookupLocations | false;
}
export interface ResolvedTypeReferenceDirective {
-1
View File
@@ -523,7 +523,6 @@ export function createWatchProgram<T extends BuilderProgram>(host: WatchCompiler
configFileName ?
getDirectoryPath(getNormalizedAbsolutePath(configFileName, currentDirectory)) :
currentDirectory,
/*logChangesWhenResolvingModule*/ false,
);
// Resolve module using host module resolution strategy if provided otherwise use resolution cache to resolve module names
compilerHost.resolveModuleNameLiterals = maybeBind(host, host.resolveModuleNameLiterals);
+12 -1
View File
@@ -206,7 +206,7 @@ export function verifyResolutionCache(
projectName: string,
): void {
const currentDirectory = resolutionHostCacheHost.getCurrentDirectory!();
const expected = ts.createResolutionCache(resolutionHostCacheHost, actual.rootDirForResolution, /*logChangesWhenResolvingModule*/ false);
const expected = ts.createResolutionCache(resolutionHostCacheHost, actual.rootDirForResolution);
expected.startCachingPerDirectoryResolution();
type ExpectedResolution = ts.CachedResolvedModuleWithFailedLookupLocations & ts.CachedResolvedTypeReferenceDirectiveWithFailedLookupLocations;
@@ -269,6 +269,14 @@ export function verifyResolutionCache(
verifyFileWatchesOfAffectingLocations(expected.fileWatchesOfAffectingLocations, actual.fileWatchesOfAffectingLocations);
verifyPackageDirWatchers(expected.packageDirWatchers, actual.packageDirWatchers);
verifyDirPathToSymlinkPackageRefCount(expected.dirPathToSymlinkPackageRefCount, actual.dirPathToSymlinkPackageRefCount);
ts.Debug.assert(
expected.countResolutionsResolvedWithGlobalCache() === actual.countResolutionsResolvedWithGlobalCache(),
`${projectName}:: Expected ResolutionsResolvedWithGlobalCache count ${expected.countResolutionsResolvedWithGlobalCache()} but got ${actual.countResolutionsResolvedWithGlobalCache()}`,
);
ts.Debug.assert(
expected.countResolutionsResolvedWithoutGlobalCache() === actual.countResolutionsResolvedWithoutGlobalCache(),
`${projectName}:: Expected ResolutionsResolvedWithoutGlobalCache count ${expected.countResolutionsResolvedWithoutGlobalCache()} but got ${actual.countResolutionsResolvedWithoutGlobalCache()}`,
);
// Stop watching resolutions to verify everything gets closed.
expected.startCachingPerDirectoryResolution();
@@ -284,6 +292,8 @@ export function verifyResolutionCache(
ts.Debug.assert(expected.resolutionsWithOnlyAffectingLocations.size === 0, `${projectName}:: resolutionsWithOnlyAffectingLocations should be released`);
ts.Debug.assert(expected.directoryWatchesOfFailedLookups.size === 0, `${projectName}:: directoryWatchesOfFailedLookups should be released`);
ts.Debug.assert(expected.fileWatchesOfAffectingLocations.size === 0, `${projectName}:: fileWatchesOfAffectingLocations should be released`);
ts.Debug.assert(expected.countResolutionsResolvedWithGlobalCache() === 0, `${projectName}:: ResolutionsResolvedWithGlobalCache should be cleared`);
ts.Debug.assert(expected.countResolutionsResolvedWithoutGlobalCache() === 0, `${projectName}:: ResolutionsResolvedWithoutGlobalCache should be cleared`);
function collectResolutionToRefFromCache<T extends ts.ResolutionWithFailedLookupLocations>(
cacheType: string,
@@ -329,6 +339,7 @@ export function verifyResolutionCache(
failedLookupLocations: resolved.failedLookupLocations,
affectingLocations: resolved.affectingLocations,
alternateResult: resolved.alternateResult,
globalCacheResolution: resolved.globalCacheResolution,
};
expectedToResolution.set(expectedResolution, resolved);
resolutionToExpected.set(resolved, expectedResolution);
+1 -5
View File
@@ -1595,11 +1595,7 @@ export class ProjectService {
switch (response.kind) {
case ActionSet:
// Update the typing files and update the project
project.updateTypingFiles(
response,
response.typings,
/*scheduleUpdate*/ true,
);
project.updateTypingFiles(response);
return;
case ActionInvalidate:
// Do not clear resolution cache, there was changes detected in typings, so enque typing request and let it get us correct results
+19 -22
View File
@@ -636,7 +636,6 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
this.resolutionCache = createResolutionCache(
this,
this.currentDirectory,
/*logChangesWhenResolvingModule*/ true,
);
this.languageService = createLanguageService(
this,
@@ -1447,15 +1446,17 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
*/
updateGraph(): boolean {
tracing?.push(tracing.Phase.Session, "updateGraph", { name: this.projectName, kind: ProjectKind[this.projectKind] });
const recordChangesToResolution = this.useTypingsFromGlobalCache();
if (recordChangesToResolution && this.cachedUnresolvedImportsPerFile.size) this.resolutionCache.startRecordingFilesWithChangedResolutions();
const useTypingsFromGlobalCache = this.useTypingsFromGlobalCache();
if (!useTypingsFromGlobalCache) this.resolutionCache.invalidateResolutionsWithGlobalCachePass();
else this.resolutionCache.invalidateResolutionsWithoutGlobalCachePass();
if (useTypingsFromGlobalCache && this.cachedUnresolvedImportsPerFile.size) this.resolutionCache.startRecordingFilesWithChangedResolutions();
const hasNewProgram = this.updateGraphWorker();
const hasAddedorRemovedFiles = this.hasAddedorRemovedFiles;
this.hasAddedorRemovedFiles = false;
this.hasAddedOrRemovedSymlinks = false;
if (recordChangesToResolution) {
if (useTypingsFromGlobalCache) {
const changedFiles: readonly Path[] = this.resolutionCache.finishRecordingFilesWithChangedResolutions() || emptyArray;
for (const file of changedFiles) {
// delete cached information for changed files
@@ -1528,20 +1529,14 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
}
/** @internal */
updateTypingFiles(
setTypings: SetTypings | undefined,
newTypings: string[] | undefined,
scheduleUpdate: boolean,
): void {
if (setTypings) {
if (!this.getTypeAcquisition().enable) return;
this.typingsCache = {
compilerOptions: setTypings.compilerOptions,
typeAcquisition: setTypings.typeAcquisition,
unresolvedImports: setTypings.unresolvedImports,
};
}
const typingFiles = !newTypings?.length || !this.getTypeAcquisition().enable ? emptyArray : toSorted(newTypings);
updateTypingFiles({ compilerOptions, typeAcquisition, unresolvedImports, typings }: SetTypings): void {
if (!this.getTypeAcquisition().enable) return;
this.typingsCache = {
compilerOptions,
typeAcquisition,
unresolvedImports,
};
const typingFiles = typings.length ? toSorted(typings) : emptyArray;
// The typings files are result of types acquired based on unresolved imports and other structure
// With respect to unresolved imports:
// The first time we see unresolved import the TI will fetch the typing into cache and return it as part of typings file
@@ -1563,7 +1558,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
this.typingFiles = typingFiles;
// Invalidate files with unresolved imports
this.resolutionCache.setFilesWithInvalidatedNonRelativeUnresolvedImports(this.cachedUnresolvedImportsPerFile);
if (scheduleUpdate) this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this);
this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this);
}
}
@@ -2034,9 +2029,11 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
}
// If the typeAcquition is disabled, dont use typing files as root and close existing watchers from TI
if (!this.getTypeAcquisition().enable) {
const typingsCache = this.typingsCache;
this.updateTypingFiles(/*setTypings*/ undefined, /*newTypings*/ undefined, /*scheduleUpdate*/ false);
if (typingsCache) this.projectService.typingsInstaller.onProjectClosed(this);
this.typingFiles = emptyArray;
if (this.typingsCache) {
this.typingsCache = undefined;
this.projectService.typingsInstaller.onProjectClosed(this);
}
}
}
@@ -337,342 +337,6 @@ Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/users/user/projects/project1/node_modules/bar/index.js Text-1 "export const x = 1"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/tslibs/ts/lib/lib.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/node_modules/bar/index.js:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/app.js:: ["bar"]
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: ["bar"]
TI:: Creating typing installer
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 2
projectProgramVersion: 1
dirty: false *changed*
TI:: [hh:mm:ss:mss] Global cache location '/home/src/Library/Caches/typescript', safe file path '/home/src/tslibs/TS/Lib/typingSafeList.json', types map path /home/src/tslibs/TS/Lib/typesMap.json
TI:: [hh:mm:ss:mss] Processing cache location '/home/src/Library/Caches/typescript'
TI:: [hh:mm:ss:mss] Trying to find '/home/src/Library/Caches/typescript/package.json'...
TI:: [hh:mm:ss:mss] Finished processing cache location '/home/src/Library/Caches/typescript'
TI:: [hh:mm:ss:mss] Npm config file: /home/src/Library/Caches/typescript/package.json
TI:: [hh:mm:ss:mss] Npm config file: '/home/src/Library/Caches/typescript/package.json' is missing, creating new one...
TI:: [hh:mm:ss:mss] Updating types-registry npm package...
TI:: [hh:mm:ss:mss] npm install --ignore-scripts types-registry@latest
TI:: [hh:mm:ss:mss] Updated types-registry npm package
TI:: typing installer creation complete
//// [/home/src/Library/Caches/typescript/package.json]
{ "private": true }
//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json]
{
"entries": {
"bar": {
"latest": "1.3.0",
"ts2.0": "1.0.0",
"ts2.1": "1.0.0",
"ts2.2": "1.2.0",
"ts2.3": "1.3.0",
"ts2.4": "1.3.0",
"ts2.5": "1.3.0",
"ts2.6": "1.3.0",
"ts2.7": "1.3.0"
}
}
}
TI:: [hh:mm:ss:mss] Got install request
{
"projectName": "/users/user/projects/project1/jsconfig.json",
"fileNames": [
"/home/src/tslibs/TS/Lib/lib.d.ts",
"/users/user/projects/project1/app.js"
],
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"unresolvedImports": [
"bar"
],
"projectRootPath": "/users/user/projects/project1",
"kind": "discover"
}
TI:: [hh:mm:ss:mss] Failed to load safelist from types map file '/home/src/tslibs/TS/Lib/typesMap.json'
TI:: [hh:mm:ss:mss] Explicitly included types: []
TI:: [hh:mm:ss:mss] Searching for typing names in /users/user/projects/project1/node_modules; all files: []
TI:: [hh:mm:ss:mss] Found package names: []
TI:: [hh:mm:ss:mss] Inferred typings from unresolved imports: ["bar"]
TI:: [hh:mm:ss:mss] Finished typings discovery:
{
"cachedTypingPaths": [],
"newTypingNames": [
"bar"
],
"filesToWatch": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
TI:: [hh:mm:ss:mss] Sending response:
{
"kind": "action::watchTypingLocations",
"projectName": "/users/user/projects/project1/jsconfig.json",
"files": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
TI:: [hh:mm:ss:mss] Installing typings ["bar"]
TI:: [hh:mm:ss:mss] Npm config file: /home/src/Library/Caches/typescript/package.json
TI:: [hh:mm:ss:mss] Sending response:
{
"kind": "event::beginInstallTypes",
"eventId": 1,
"typingsInstallerVersion": "FakeVersion",
"projectName": "/users/user/projects/project1/jsconfig.json"
}
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "beginInstallTypes",
"body": {
"eventId": 1
}
}
TI:: [hh:mm:ss:mss] #1 with cwd: /home/src/Library/Caches/typescript arguments: [
"@types/bar@tsFakeMajor.Minor"
]
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectLoadingFinish",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json"
}
}
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "configFileDiag",
"body": {
"triggerFile": "/users/user/projects/project1/jsconfig.json",
"configFile": "/users/user/projects/project1/jsconfig.json",
"diagnostics": []
}
}
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] got projects updated in background /users/user/projects/project1/app.js
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectsUpdatedInBackground",
"body": {
"openFiles": [
"/users/user/projects/project1/app.js"
]
}
}
After running Timeout callback:: count: 0
PolledWatches::
/users/user/projects/node_modules:
{"pollingInterval":500}
/users/user/projects/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/bower_components: *new*
{"pollingInterval":500}
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/project1/node_modules/bar/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/package.json:
{"pollingInterval":2000}
FsWatches::
/home/src/tslibs/TS/Lib/lib.d.ts:
{}
/users/user/projects/project1/jsconfig.json:
{}
FsWatchesRecursive::
/users/user/projects/project1:
{}
/users/user/projects/project1/node_modules:
{}
PendingInstalls callback:: count: 1
1: #1 with arguments:: [
"@types/bar@tsFakeMajor.Minor"
] *new*
Before running Timeout callback:: count: 0
After running Timeout callback:: count: 0
Before running Timeout callback:: count: 0
After running Timeout callback:: count: 0
Before running PendingInstalls callback:: count: 1
1: #1 with arguments:: [
"@types/bar@tsFakeMajor.Minor"
]
TI:: Installation #1 with arguments:: [
"@types/bar@tsFakeMajor.Minor"
] complete with success::true
TI:: [hh:mm:ss:mss] Installed typings ["@types/bar@tsFakeMajor.Minor"]
TI:: [hh:mm:ss:mss] Installed typing files ["/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"]
TI:: [hh:mm:ss:mss] Sending response:
{
"projectName": "/users/user/projects/project1/jsconfig.json",
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typings": [
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"
],
"unresolvedImports": [
"bar"
],
"kind": "action::set"
}
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "setTypings",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json",
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typings": [
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"
],
"unresolvedImports": [
"bar"
],
"kind": "action::set"
}
}
TI:: [hh:mm:ss:mss] Sending response:
{
"kind": "event::endInstallTypes",
"eventId": 1,
"projectName": "/users/user/projects/project1/jsconfig.json",
"packagesToInstall": [
"@types/bar@tsFakeMajor.Minor"
],
"installSuccess": true,
"typingsInstallerVersion": "FakeVersion"
}
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "endInstallTypes",
"body": {
"eventId": 1,
"packages": [
"@types/bar@tsFakeMajor.Minor"
],
"success": true
}
}
After running PendingInstalls callback:: count: 0
Timeout callback:: count: 2
3: /users/user/projects/project1/jsconfig.json *new*
4: *ensureProjectForOpenFiles* *new*
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 3 *changed*
projectProgramVersion: 1
dirty: true *changed*
Before running Timeout callback:: count: 2
3: /users/user/projects/project1/jsconfig.json
4: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] Running: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] ======== Resolving module 'bar' from '/users/user/projects/project1/app.js'. ========
Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.
@@ -705,7 +369,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist.
Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/Library/Caches/typescript/package.json'.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/package.json' does not exist.
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
@@ -716,7 +380,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/p
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
@@ -728,21 +392,167 @@ Info seq [hh:mm:ss:mss] Files (3)
Default library for target 'es5'
../../../../home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts
Imported via 'bar' from file 'app.js'
Matched by default include pattern '**/*'
app.js
Matched by default include pattern '**/*'
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/tslibs/ts/lib/lib.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/library/caches/typescript/node_modules/@types/bar/index.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/app.js:: []
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: []
TI:: Creating typing installer
PolledWatches::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json: *new*
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/@types/package.json: *new*
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/package.json: *new*
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/node_modules:
{"pollingInterval":500}
/users/user/projects/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
PolledWatches *deleted*::
/users/user/projects/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/bar/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/package.json:
{"pollingInterval":2000}
FsWatches::
/home/src/tslibs/TS/Lib/lib.d.ts:
{}
/users/user/projects/project1/jsconfig.json:
{}
FsWatchesRecursive::
/home/src/Library/Caches/typescript/node_modules: *new*
{}
/users/user/projects/project1:
{}
/users/user/projects/project1/node_modules:
{}
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 2
projectProgramVersion: 1
dirty: false *changed*
ScriptInfos::
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts *new*
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
/home/src/tslibs/TS/Lib/lib.d.ts
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
/users/user/projects/project1/app.js (Open)
version: SVC-1-0
containingProjects: 1
/users/user/projects/project1/jsconfig.json *default*
/users/user/projects/project1/node_modules/bar/index.js *changed*
version: Text-1
containingProjects: 0 *changed*
/users/user/projects/project1/jsconfig.json *deleted*
TI:: [hh:mm:ss:mss] Global cache location '/home/src/Library/Caches/typescript', safe file path '/home/src/tslibs/TS/Lib/typingSafeList.json', types map path /home/src/tslibs/TS/Lib/typesMap.json
TI:: [hh:mm:ss:mss] Processing cache location '/home/src/Library/Caches/typescript'
TI:: [hh:mm:ss:mss] Trying to find '/home/src/Library/Caches/typescript/package.json'...
TI:: [hh:mm:ss:mss] Finished processing cache location '/home/src/Library/Caches/typescript'
TI:: [hh:mm:ss:mss] Npm config file: /home/src/Library/Caches/typescript/package.json
TI:: [hh:mm:ss:mss] Npm config file: '/home/src/Library/Caches/typescript/package.json' is missing, creating new one...
Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/Library/Caches/typescript/package.json 0:: WatchInfo: /home/src/Library/Caches/typescript/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.jsonFailedLookupInvalidation
Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/Library/Caches/typescript/package.json 0:: WatchInfo: /home/src/Library/Caches/typescript/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/Library/Caches/typescript/package.json 0:: WatchInfo: /home/src/Library/Caches/typescript/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.jsonFailedLookupInvalidation, Cancelled earlier one
Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/Library/Caches/typescript/package.json 0:: WatchInfo: /home/src/Library/Caches/typescript/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
TI:: [hh:mm:ss:mss] Updating types-registry npm package...
TI:: [hh:mm:ss:mss] npm install --ignore-scripts types-registry@latest
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/Library/Caches/typescript/node_modules/types-registry :: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.jsonFailedLookupInvalidation, Cancelled earlier one
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/Library/Caches/typescript/node_modules/types-registry :: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/Library/Caches/typescript/node_modules/types-registry/index.json :: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.jsonFailedLookupInvalidation, Cancelled earlier one
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/Library/Caches/typescript/node_modules/types-registry/index.json :: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
TI:: [hh:mm:ss:mss] Updated types-registry npm package
TI:: typing installer creation complete
//// [/home/src/Library/Caches/typescript/package.json]
{ "private": true }
//// [/home/src/Library/Caches/typescript/node_modules/types-registry/index.json]
{
"entries": {
"bar": {
"latest": "1.3.0",
"ts2.0": "1.0.0",
"ts2.1": "1.0.0",
"ts2.2": "1.2.0",
"ts2.3": "1.3.0",
"ts2.4": "1.3.0",
"ts2.5": "1.3.0",
"ts2.6": "1.3.0",
"ts2.7": "1.3.0"
}
}
}
PolledWatches::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json:
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/@types/package.json:
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/node_modules:
{"pollingInterval":500}
/users/user/projects/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
PolledWatches *deleted*::
/home/src/Library/Caches/typescript/package.json:
{"pollingInterval":2000}
FsWatches::
/home/src/Library/Caches/typescript/package.json: *new*
{}
/home/src/tslibs/TS/Lib/lib.d.ts:
{}
/users/user/projects/project1/jsconfig.json:
{}
FsWatchesRecursive::
/home/src/Library/Caches/typescript/node_modules:
{}
/users/user/projects/project1:
{}
/users/user/projects/project1/node_modules:
{}
Timeout callback:: count: 2
2: *ensureProjectForOpenFiles*
6: /users/user/projects/project1/jsconfig.jsonFailedLookupInvalidation *new*
TI:: [hh:mm:ss:mss] Got install request
{
"projectName": "/users/user/projects/project1/jsconfig.json",
"fileNames": [
"/home/src/tslibs/TS/Lib/lib.d.ts",
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts",
"/users/user/projects/project1/app.js"
],
"compilerOptions": {
@@ -764,6 +574,7 @@ TI:: [hh:mm:ss:mss] Got install request
"projectRootPath": "/users/user/projects/project1",
"kind": "discover"
}
TI:: [hh:mm:ss:mss] Failed to load safelist from types map file '/home/src/tslibs/TS/Lib/typesMap.json'
TI:: [hh:mm:ss:mss] Explicitly included types: []
TI:: [hh:mm:ss:mss] Searching for typing names in /users/user/projects/project1/node_modules; all files: []
TI:: [hh:mm:ss:mss] Found package names: []
@@ -780,8 +591,16 @@ TI:: [hh:mm:ss:mss] Finished typings discovery:
TI:: [hh:mm:ss:mss] Sending response:
{
"kind": "action::watchTypingLocations",
"projectName": "/users/user/projects/project1/jsconfig.json"
"projectName": "/users/user/projects/project1/jsconfig.json",
"files": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
TI:: [hh:mm:ss:mss] Sending response:
{
"projectName": "/users/user/projects/project1/jsconfig.json",
@@ -804,8 +623,6 @@ TI:: [hh:mm:ss:mss] Sending response:
"unresolvedImports": [],
"kind": "action::set"
}
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
@@ -834,13 +651,27 @@ Info seq [hh:mm:ss:mss] event:
}
}
TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectLoadingFinish",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json"
}
}
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/Library/Caches/typescript/package.json'.
Info seq [hh:mm:ss:mss] Reusing resolution of module 'bar' from '/users/user/projects/project1/app.js' of old program, it was successfully resolved to '/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts'.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/package.json' exists according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
@@ -850,36 +681,37 @@ Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: []
After running Timeout callback:: count: 2
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "configFileDiag",
"body": {
"triggerFile": "/users/user/projects/project1/jsconfig.json",
"configFile": "/users/user/projects/project1/jsconfig.json",
"diagnostics": []
}
}
After running Timeout callback:: count: 1
PolledWatches::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json: *new*
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json:
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/@types/package.json: *new*
/home/src/Library/Caches/typescript/node_modules/@types/package.json:
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/package.json: *new*
/home/src/Library/Caches/typescript/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/node_modules:
{"pollingInterval":500}
/users/user/projects/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/project1/bower_components:
/users/user/projects/project1/bower_components: *new*
{"pollingInterval":500}
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
PolledWatches *deleted*::
/users/user/projects/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/bar/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/package.json:
{"pollingInterval":2000}
FsWatches::
/home/src/Library/Caches/typescript/package.json: *new*
/home/src/Library/Caches/typescript/package.json:
{}
/home/src/tslibs/TS/Lib/lib.d.ts:
{}
@@ -887,47 +719,26 @@ FsWatches::
{}
FsWatchesRecursive::
/home/src/Library/Caches/typescript/node_modules: *new*
/home/src/Library/Caches/typescript/node_modules:
{}
/users/user/projects/project1:
{}
/users/user/projects/project1/node_modules:
{}
Timeout callback:: count: 2
4: *ensureProjectForOpenFiles* *deleted*
5: /users/user/projects/project1/jsconfig.json *new*
6: *ensureProjectForOpenFiles* *new*
Timeout callback:: count: 1
2: *ensureProjectForOpenFiles* *deleted*
6: /users/user/projects/project1/jsconfig.jsonFailedLookupInvalidation *deleted*
7: *ensureProjectForOpenFiles* *new*
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 4 *changed*
projectStateVersion: 3 *changed*
projectProgramVersion: 3 *changed*
dirty: false *changed*
ScriptInfos::
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts *new*
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
/home/src/tslibs/TS/Lib/lib.d.ts
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
/users/user/projects/project1/app.js (Open)
version: SVC-1-0
containingProjects: 1
/users/user/projects/project1/jsconfig.json *default*
/users/user/projects/project1/node_modules/bar/index.js *changed*
version: Text-1
containingProjects: 0 *changed*
/users/user/projects/project1/jsconfig.json *deleted*
Before running Timeout callback:: count: 1
7: *ensureProjectForOpenFiles*
Before running Timeout callback:: count: 2
5: /users/user/projects/project1/jsconfig.json
6: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] Running: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
@@ -962,3 +773,19 @@ After running Timeout callback:: count: 0
Before running Timeout callback:: count: 0
After running Timeout callback:: count: 0
Before running PendingInstalls callback:: count: 0
After running PendingInstalls callback:: count: 0
Before running Timeout callback:: count: 0
After running Timeout callback:: count: 0
Before running Timeout callback:: count: 0
After running Timeout callback:: count: 0
Before running Timeout callback:: count: 0
After running Timeout callback:: count: 0
@@ -907,12 +907,61 @@ Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/package.json' exists according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms
Info seq [hh:mm:ss:mss] ======== Resolving module 'bar' from '/users/user/projects/project1/app.js'. ========
Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.d.ts' does not exist.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/project1/node_modules/@types' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: JavaScript.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.js' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.jsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.js' exists - use it as a name resolution result.
Info seq [hh:mm:ss:mss] Resolving real path for '/users/user/projects/project1/node_modules/bar/index.js', result '/users/user/projects/project1/node_modules/bar/index.js'.
Info seq [hh:mm:ss:mss] ======== Module name 'bar' was successfully resolved to '/users/user/projects/project1/node_modules/bar/index.js'. ========
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/project1/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Text-1 "export const x = 1;"
/users/user/projects/project1/node_modules/bar/index.js Text-1 "export const x = 1"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
../../../../home/src/tslibs/TS/Lib/lib.d.ts
Default library for target 'es5'
node_modules/bar/index.js
Imported via 'bar' from file 'app.js'
app.js
Matched by default include pattern '**/*'
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] event:
@@ -967,45 +1016,75 @@ Info seq [hh:mm:ss:mss] event:
After running Timeout callback:: count: 0
PolledWatches::
/users/user/projects/node_modules:
{"pollingInterval":500}
/users/user/projects/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/project1/node_modules/bar/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/project1/package.json: *new*
{"pollingInterval":2000}
PolledWatches *deleted*::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json:
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/@types/package.json:
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/node_modules:
{"pollingInterval":500}
/users/user/projects/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
PolledWatches *deleted*::
/users/user/projects/project1/bower_components:
{"pollingInterval":500}
FsWatches::
/home/src/Library/Caches/typescript/package.json:
{}
/home/src/tslibs/TS/Lib/lib.d.ts:
{}
/users/user/projects/project1/jsconfig.json:
{}
FsWatchesRecursive::
/home/src/Library/Caches/typescript/node_modules:
FsWatches *deleted*::
/home/src/Library/Caches/typescript/package.json:
{}
FsWatchesRecursive::
/users/user/projects/project1:
{}
/users/user/projects/project1/node_modules:
{}
FsWatchesRecursive *deleted*::
/home/src/Library/Caches/typescript/node_modules:
{}
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 4
projectProgramVersion: 3
projectProgramVersion: 4 *changed*
dirty: false *changed*
ScriptInfos::
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts *changed*
version: Text-1
containingProjects: 0 *changed*
/users/user/projects/project1/jsconfig.json *deleted*
/home/src/tslibs/TS/Lib/lib.d.ts
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
/users/user/projects/project1/app.js (Open)
version: SVC-1-0
containingProjects: 1
/users/user/projects/project1/jsconfig.json *default*
/users/user/projects/project1/node_modules/bar/index.js *changed*
version: Text-1
containingProjects: 1 *changed*
/users/user/projects/project1/jsconfig.json *new*
Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/user/projects/project1/jsconfig.json 1:: WatchInfo: /users/user/projects/project1/jsconfig.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Config file
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/user/projects/project1/app.js ProjectRootPath: undefined:: Result: /users/user/projects/project1/jsconfig.json
@@ -1030,7 +1109,7 @@ Timeout callback:: count: 2
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 5 *changed*
projectProgramVersion: 3
projectProgramVersion: 4
dirty: true *changed*
Info seq [hh:mm:ss:mss] Running: /users/user/projects/project1/jsconfig.json
@@ -1059,16 +1138,70 @@ Info seq [hh:mm:ss:mss] Config: /users/user/projects/project1/jsconfig.json : {
}
}
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] ======== Resolving module 'bar' from '/users/user/projects/project1/app.js'. ========
Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.d.ts' does not exist.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/project1/node_modules/@types' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: JavaScript.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.js' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.jsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.js' exists - use it as a name resolution result.
Info seq [hh:mm:ss:mss] Resolving real path for '/users/user/projects/project1/node_modules/bar/index.js', result '/users/user/projects/project1/node_modules/bar/index.js'.
Info seq [hh:mm:ss:mss] ======== Module name 'bar' was successfully resolved to '/users/user/projects/project1/node_modules/bar/index.js'. ========
Info seq [hh:mm:ss:mss] Auto discovery for typings is enabled in project '/users/user/projects/project1/jsconfig.json'. Running extra resolution pass for module 'bar' using cache location '/home/src/Library/Caches/typescript'.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts' exists - use it as a name resolution result.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/package.json' exists according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/node_modules/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Text-1 "export const x = 1;"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
../../../../home/src/tslibs/TS/Lib/lib.d.ts
Default library for target 'es5'
../../../../home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts
Imported via 'bar' from file 'app.js'
app.js
Matched by default include pattern '**/*'
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
@@ -1230,11 +1363,11 @@ Info seq [hh:mm:ss:mss] event:
After running Timeout callback:: count: 0
PolledWatches::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json:
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json: *new*
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/@types/package.json:
/home/src/Library/Caches/typescript/node_modules/@types/package.json: *new*
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/package.json:
/home/src/Library/Caches/typescript/node_modules/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/node_modules:
{"pollingInterval":500}
@@ -1245,8 +1378,18 @@ PolledWatches::
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
PolledWatches *deleted*::
/users/user/projects/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/bar/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/package.json:
{"pollingInterval":2000}
FsWatches::
/home/src/Library/Caches/typescript/package.json:
/home/src/Library/Caches/typescript/package.json: *new*
{}
/home/src/tslibs/TS/Lib/lib.d.ts:
{}
@@ -1254,7 +1397,7 @@ FsWatches::
{}
FsWatchesRecursive::
/home/src/Library/Caches/typescript/node_modules:
/home/src/Library/Caches/typescript/node_modules: *new*
{}
/users/user/projects/project1:
{}
@@ -1264,9 +1407,27 @@ FsWatchesRecursive::
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 5
projectProgramVersion: 3
projectProgramVersion: 5 *changed*
dirty: false *changed*
ScriptInfos::
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts *changed*
version: Text-1
containingProjects: 1 *changed*
/users/user/projects/project1/jsconfig.json *new*
/home/src/tslibs/TS/Lib/lib.d.ts
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
/users/user/projects/project1/app.js (Open)
version: SVC-1-0
containingProjects: 1
/users/user/projects/project1/jsconfig.json *default*
/users/user/projects/project1/node_modules/bar/index.js *changed*
version: Text-1
containingProjects: 0 *changed*
/users/user/projects/project1/jsconfig.json *deleted*
Before running Timeout callback:: count: 0
After running Timeout callback:: count: 0
@@ -603,12 +603,63 @@ Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/package.json' exists according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms
Info seq [hh:mm:ss:mss] ======== Resolving module 'bar' from '/users/user/projects/project1/app.js'. ========
Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.d.ts' does not exist.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/project1/node_modules/@types' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: JavaScript.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.js' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.jsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.js' exists - use it as a name resolution result.
Info seq [hh:mm:ss:mss] Resolving real path for '/users/user/projects/project1/node_modules/bar/index.js', result '/users/user/projects/project1/node_modules/bar/index.js'.
Info seq [hh:mm:ss:mss] ======== Module name 'bar' was successfully resolved to '/users/user/projects/project1/node_modules/bar/index.js'. ========
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/package.json' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/package.json' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist.
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/project1/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/Library/Caches/typescript/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Text-1 "export const x = 1;"
/users/user/projects/project1/node_modules/bar/index.js Text-1 "export const x = 1"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
../../../../home/src/tslibs/TS/Lib/lib.d.ts
Default library for target 'es5'
node_modules/bar/index.js
Imported via 'bar' from file 'app.js'
app.js
Matched by default include pattern '**/*'
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] event:
@@ -663,45 +714,75 @@ Info seq [hh:mm:ss:mss] event:
After running Timeout callback:: count: 0
PolledWatches::
/users/user/projects/node_modules:
{"pollingInterval":500}
/users/user/projects/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/project1/node_modules/bar/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/project1/package.json: *new*
{"pollingInterval":2000}
PolledWatches *deleted*::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json:
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/@types/package.json:
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/node_modules:
{"pollingInterval":500}
/users/user/projects/node_modules/@types:
{"pollingInterval":500}
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
PolledWatches *deleted*::
/users/user/projects/project1/bower_components:
{"pollingInterval":500}
FsWatches::
/home/src/Library/Caches/typescript/package.json:
{}
/home/src/tslibs/TS/Lib/lib.d.ts:
{}
/users/user/projects/project1/jsconfig.json:
{}
FsWatchesRecursive::
/home/src/Library/Caches/typescript/node_modules:
FsWatches *deleted*::
/home/src/Library/Caches/typescript/package.json:
{}
FsWatchesRecursive::
/users/user/projects/project1:
{}
/users/user/projects/project1/node_modules:
{}
FsWatchesRecursive *deleted*::
/home/src/Library/Caches/typescript/node_modules:
{}
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 3
projectProgramVersion: 2
projectProgramVersion: 3 *changed*
dirty: false *changed*
ScriptInfos::
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts *changed*
version: Text-1
containingProjects: 0 *changed*
/users/user/projects/project1/jsconfig.json *deleted*
/home/src/tslibs/TS/Lib/lib.d.ts
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
/users/user/projects/project1/app.js (Open)
version: SVC-1-0
containingProjects: 1
/users/user/projects/project1/jsconfig.json *default*
/users/user/projects/project1/node_modules/bar/index.js *new*
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /users/user/projects/project1/jsconfig.json 1:: WatchInfo: /users/user/projects/project1/jsconfig.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Config file
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/user/projects/project1/app.js ProjectRootPath: undefined:: Result: /users/user/projects/project1/jsconfig.json
@@ -726,7 +807,7 @@ Timeout callback:: count: 2
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 4 *changed*
projectProgramVersion: 2
projectProgramVersion: 3
dirty: true *changed*
Info seq [hh:mm:ss:mss] Running: /users/user/projects/project1/jsconfig.json
@@ -755,16 +836,70 @@ Info seq [hh:mm:ss:mss] Config: /users/user/projects/project1/jsconfig.json : {
}
}
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] ======== Resolving module 'bar' from '/users/user/projects/project1/app.js'. ========
Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.d.ts' does not exist.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/project1/node_modules/@types' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: JavaScript.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.js' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.jsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.js' exists - use it as a name resolution result.
Info seq [hh:mm:ss:mss] Resolving real path for '/users/user/projects/project1/node_modules/bar/index.js', result '/users/user/projects/project1/node_modules/bar/index.js'.
Info seq [hh:mm:ss:mss] ======== Module name 'bar' was successfully resolved to '/users/user/projects/project1/node_modules/bar/index.js'. ========
Info seq [hh:mm:ss:mss] Auto discovery for typings is enabled in project '/users/user/projects/project1/jsconfig.json'. Running extra resolution pass for module 'bar' using cache location '/home/src/Library/Caches/typescript'.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts' exists - use it as a name resolution result.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/package.json' exists according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Failed Lookup Locations
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/node_modules/bar/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Text-1 "export const x = 1;"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
../../../../home/src/tslibs/TS/Lib/lib.d.ts
Default library for target 'es5'
../../../../home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts
Imported via 'bar' from file 'app.js'
app.js
Matched by default include pattern '**/*'
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
@@ -926,11 +1061,11 @@ Info seq [hh:mm:ss:mss] event:
After running Timeout callback:: count: 0
PolledWatches::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json:
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json: *new*
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/@types/package.json:
/home/src/Library/Caches/typescript/node_modules/@types/package.json: *new*
{"pollingInterval":2000}
/home/src/Library/Caches/typescript/node_modules/package.json:
/home/src/Library/Caches/typescript/node_modules/package.json: *new*
{"pollingInterval":2000}
/users/user/projects/node_modules:
{"pollingInterval":500}
@@ -941,8 +1076,18 @@ PolledWatches::
/users/user/projects/project1/node_modules/@types:
{"pollingInterval":500}
PolledWatches *deleted*::
/users/user/projects/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/bar/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/node_modules/package.json:
{"pollingInterval":2000}
/users/user/projects/project1/package.json:
{"pollingInterval":2000}
FsWatches::
/home/src/Library/Caches/typescript/package.json:
/home/src/Library/Caches/typescript/package.json: *new*
{}
/home/src/tslibs/TS/Lib/lib.d.ts:
{}
@@ -950,7 +1095,7 @@ FsWatches::
{}
FsWatchesRecursive::
/home/src/Library/Caches/typescript/node_modules:
/home/src/Library/Caches/typescript/node_modules: *new*
{}
/users/user/projects/project1:
{}
@@ -960,9 +1105,27 @@ FsWatchesRecursive::
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 4
projectProgramVersion: 2
projectProgramVersion: 4 *changed*
dirty: false *changed*
ScriptInfos::
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts *changed*
version: Text-1
containingProjects: 1 *changed*
/users/user/projects/project1/jsconfig.json *new*
/home/src/tslibs/TS/Lib/lib.d.ts
version: Text-1
containingProjects: 1
/users/user/projects/project1/jsconfig.json
/users/user/projects/project1/app.js (Open)
version: SVC-1-0
containingProjects: 1
/users/user/projects/project1/jsconfig.json *default*
/users/user/projects/project1/node_modules/bar/index.js *changed*
version: Text-1
containingProjects: 0 *changed*
/users/user/projects/project1/jsconfig.json *deleted*
Before running Timeout callback:: count: 0
After running Timeout callback:: count: 0
@@ -804,145 +804,6 @@ Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/users/user/projects/project1/node_modules/bar/index.js Text-1 "export const x = 1"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/tslibs/ts/lib/lib.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/node_modules/bar/index.js:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/app.js:: ["bar"]
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: ["bar"]
TI:: [hh:mm:ss:mss] Got install request
{
"projectName": "/users/user/projects/project1/jsconfig.json",
"fileNames": [
"/home/src/tslibs/TS/Lib/lib.d.ts",
"/users/user/projects/project1/app.js"
],
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"unresolvedImports": [
"bar"
],
"projectRootPath": "/users/user/projects/project1",
"kind": "discover"
}
TI:: [hh:mm:ss:mss] Explicitly included types: []
TI:: [hh:mm:ss:mss] Searching for typing names in /users/user/projects/project1/node_modules; all files: []
TI:: [hh:mm:ss:mss] Found package names: []
TI:: [hh:mm:ss:mss] Inferred typings from unresolved imports: ["bar"]
TI:: [hh:mm:ss:mss] Finished typings discovery:
{
"cachedTypingPaths": [
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"
],
"newTypingNames": [],
"filesToWatch": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
TI:: [hh:mm:ss:mss] Sending response:
{
"kind": "action::watchTypingLocations",
"projectName": "/users/user/projects/project1/jsconfig.json",
"files": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
TI:: [hh:mm:ss:mss] Sending response:
{
"projectName": "/users/user/projects/project1/jsconfig.json",
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typings": [
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"
],
"unresolvedImports": [
"bar"
],
"kind": "action::set"
}
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "setTypings",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json",
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typings": [
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"
],
"unresolvedImports": [
"bar"
],
"kind": "action::set"
}
}
TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectLoadingFinish",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json"
}
}
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] ======== Resolving module 'bar' from '/users/user/projects/project1/app.js'. ========
Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.
@@ -986,7 +847,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/p
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
@@ -998,12 +859,12 @@ Info seq [hh:mm:ss:mss] Files (3)
Default library for target 'es5'
../../../../home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts
Imported via 'bar' from file 'app.js'
Matched by default include pattern '**/*'
app.js
Matched by default include pattern '**/*'
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/tslibs/ts/lib/lib.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/library/caches/typescript/node_modules/@types/bar/index.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/app.js:: []
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: []
@@ -1012,7 +873,6 @@ TI:: [hh:mm:ss:mss] Got install request
"projectName": "/users/user/projects/project1/jsconfig.json",
"fileNames": [
"/home/src/tslibs/TS/Lib/lib.d.ts",
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts",
"/users/user/projects/project1/app.js"
],
"compilerOptions": {
@@ -1050,8 +910,16 @@ TI:: [hh:mm:ss:mss] Finished typings discovery:
TI:: [hh:mm:ss:mss] Sending response:
{
"kind": "action::watchTypingLocations",
"projectName": "/users/user/projects/project1/jsconfig.json"
"projectName": "/users/user/projects/project1/jsconfig.json",
"files": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
TI:: [hh:mm:ss:mss] Sending response:
{
"projectName": "/users/user/projects/project1/jsconfig.json",
@@ -1074,8 +942,6 @@ TI:: [hh:mm:ss:mss] Sending response:
"unresolvedImports": [],
"kind": "action::set"
}
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.json, Cancelled earlier one
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
@@ -1104,22 +970,15 @@ Info seq [hh:mm:ss:mss] event:
}
}
TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Reusing resolution of module 'bar' from '/users/user/projects/project1/app.js' of old program, it was successfully resolved to '/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts'.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/package.json' exists according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Text-1 "export const x = 1;"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: []
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectLoadingFinish",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json"
}
}
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
@@ -1131,7 +990,36 @@ Info seq [hh:mm:ss:mss] event:
"diagnostics": []
}
}
After running Timeout callback:: count: 2
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] got projects updated in background /users/user/projects/project1/app.js
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectsUpdatedInBackground",
"body": {
"openFiles": [
"/users/user/projects/project1/app.js"
]
}
}
After running Timeout callback:: count: 0
PolledWatches::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json: *new*
@@ -1175,15 +1063,10 @@ FsWatchesRecursive::
/users/user/projects/project1/node_modules:
{}
Timeout callback:: count: 2
6: *ensureProjectForOpenFiles* *deleted*
9: /users/user/projects/project1/jsconfig.json *new*
10: *ensureProjectForOpenFiles* *new*
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 5 *changed*
projectProgramVersion: 4 *changed*
projectStateVersion: 3
projectProgramVersion: 3 *changed*
dirty: false *changed*
ScriptInfos::
@@ -1204,40 +1087,8 @@ ScriptInfos::
containingProjects: 0 *changed*
/users/user/projects/project1/jsconfig.json *deleted*
Before running Timeout callback:: count: 2
9: /users/user/projects/project1/jsconfig.json
10: *ensureProjectForOpenFiles*
Before running Timeout callback:: count: 0
Info seq [hh:mm:ss:mss] Running: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] got projects updated in background /users/user/projects/project1/app.js
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectsUpdatedInBackground",
"body": {
"openFiles": [
"/users/user/projects/project1/app.js"
]
}
}
After running Timeout callback:: count: 0
Before running Timeout callback:: count: 0
@@ -504,7 +504,38 @@ Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms
Info seq [hh:mm:ss:mss] ======== Resolving module 'bar' from '/users/user/projects/project1/app.js'. ========
Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.d.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.ts' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.tsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.d.ts' does not exist.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/project1/node_modules/@types' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/projects/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/user/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/users/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: JavaScript.
Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for fallback extensions: JavaScript.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.js' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar.jsx' does not exist.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/index.js' exists - use it as a name resolution result.
Info seq [hh:mm:ss:mss] Resolving real path for '/users/user/projects/project1/node_modules/bar/index.js', result '/users/user/projects/project1/node_modules/bar/index.js'.
Info seq [hh:mm:ss:mss] ======== Module name 'bar' was successfully resolved to '/users/user/projects/project1/node_modules/bar/index.js'. ========
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/project1/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
@@ -598,7 +629,7 @@ FsWatchesRecursive::
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 2
projectProgramVersion: 1
projectProgramVersion: 2 *changed*
dirty: false *changed*
Before running PendingInstalls callback:: count: 1
@@ -726,7 +757,7 @@ Timeout callback:: count: 2
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 3 *changed*
projectProgramVersion: 1
projectProgramVersion: 2
dirty: true *changed*
Info seq [hh:mm:ss:mss] Running: /users/user/projects/project1/jsconfig.json
@@ -762,145 +793,6 @@ Info seq [hh:mm:ss:mss] File '/users/user/projects/package.json' does not exist
Info seq [hh:mm:ss:mss] File '/users/user/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/users/user/projects/project1/node_modules/bar/index.js Text-1 "export const x = 1"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/tslibs/ts/lib/lib.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/node_modules/bar/index.js:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/app.js:: ["bar"]
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: ["bar"]
TI:: [hh:mm:ss:mss] Got install request
{
"projectName": "/users/user/projects/project1/jsconfig.json",
"fileNames": [
"/home/src/tslibs/TS/Lib/lib.d.ts",
"/users/user/projects/project1/app.js"
],
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"unresolvedImports": [
"bar"
],
"projectRootPath": "/users/user/projects/project1",
"kind": "discover"
}
TI:: [hh:mm:ss:mss] Explicitly included types: []
TI:: [hh:mm:ss:mss] Searching for typing names in /users/user/projects/project1/node_modules; all files: []
TI:: [hh:mm:ss:mss] Found package names: []
TI:: [hh:mm:ss:mss] Inferred typings from unresolved imports: ["bar"]
TI:: [hh:mm:ss:mss] Finished typings discovery:
{
"cachedTypingPaths": [
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"
],
"newTypingNames": [],
"filesToWatch": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
TI:: [hh:mm:ss:mss] Sending response:
{
"kind": "action::watchTypingLocations",
"projectName": "/users/user/projects/project1/jsconfig.json",
"files": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
TI:: [hh:mm:ss:mss] Sending response:
{
"projectName": "/users/user/projects/project1/jsconfig.json",
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typings": [
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"
],
"unresolvedImports": [
"bar"
],
"kind": "action::set"
}
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "setTypings",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json",
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"compilerOptions": {
"allowJs": true,
"maxNodeModuleJsDepth": 2,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noEmit": true,
"traceResolution": true,
"configFilePath": "/users/user/projects/project1/jsconfig.json",
"allowNonTsExtensions": true
},
"typings": [
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts"
],
"unresolvedImports": [
"bar"
],
"kind": "action::set"
}
}
TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectLoadingFinish",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json"
}
}
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] ======== Resolving module 'bar' from '/users/user/projects/project1/app.js'. ========
Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'.
Info seq [hh:mm:ss:mss] Loading module 'bar' from 'node_modules' folder, target file types: TypeScript, Declaration.
@@ -944,7 +836,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/p
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/node_modules/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/project1/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/user/projects/package.json 2000 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: File location affecting resolution
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 4 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
@@ -956,12 +848,12 @@ Info seq [hh:mm:ss:mss] Files (3)
Default library for target 'es5'
../../../../home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts
Imported via 'bar' from file 'app.js'
Matched by default include pattern '**/*'
app.js
Matched by default include pattern '**/*'
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/tslibs/ts/lib/lib.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /home/src/library/caches/typescript/node_modules/@types/bar/index.d.ts:: []
Info seq [hh:mm:ss:mss] extractUnresolvedImportsFromSourceFile:: /users/user/projects/project1/app.js:: []
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: []
@@ -970,7 +862,6 @@ TI:: [hh:mm:ss:mss] Got install request
"projectName": "/users/user/projects/project1/jsconfig.json",
"fileNames": [
"/home/src/tslibs/TS/Lib/lib.d.ts",
"/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts",
"/users/user/projects/project1/app.js"
],
"compilerOptions": {
@@ -1008,8 +899,16 @@ TI:: [hh:mm:ss:mss] Finished typings discovery:
TI:: [hh:mm:ss:mss] Sending response:
{
"kind": "action::watchTypingLocations",
"projectName": "/users/user/projects/project1/jsconfig.json"
"projectName": "/users/user/projects/project1/jsconfig.json",
"files": [
"/users/user/projects/project1/bower_components",
"/users/user/projects/project1/node_modules"
]
}
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/bower_components 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/project1/node_modules 1 undefined Project: /users/user/projects/project1/jsconfig.json WatchType: Directory location for typing installer
TI:: [hh:mm:ss:mss] Sending response:
{
"projectName": "/users/user/projects/project1/jsconfig.json",
@@ -1032,8 +931,6 @@ TI:: [hh:mm:ss:mss] Sending response:
"unresolvedImports": [],
"kind": "action::set"
}
Info seq [hh:mm:ss:mss] Scheduled: /users/user/projects/project1/jsconfig.json, Cancelled earlier one
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
@@ -1062,22 +959,15 @@ Info seq [hh:mm:ss:mss] event:
}
}
TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Reusing resolution of module 'bar' from '/users/user/projects/project1/app.js' of old program, it was successfully resolved to '/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts'.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/@types/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/node_modules/package.json' does not exist according to earlier cached lookups.
Info seq [hh:mm:ss:mss] File '/home/src/Library/Caches/typescript/package.json' exists according to earlier cached lookups.
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/user/projects/project1/jsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
/home/src/tslibs/TS/Lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
/home/src/Library/Caches/typescript/node_modules/@types/bar/index.d.ts Text-1 "export const x = 1;"
/users/user/projects/project1/app.js SVC-1-0 "var x = require('bar');"
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3
Info seq [hh:mm:ss:mss] getUnresolvedImports:: Files:: 3 Done: []
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectLoadingFinish",
"body": {
"projectName": "/users/user/projects/project1/jsconfig.json"
}
}
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
@@ -1089,7 +979,36 @@ Info seq [hh:mm:ss:mss] event:
"diagnostics": []
}
}
After running Timeout callback:: count: 2
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] got projects updated in background /users/user/projects/project1/app.js
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectsUpdatedInBackground",
"body": {
"openFiles": [
"/users/user/projects/project1/app.js"
]
}
}
After running Timeout callback:: count: 0
PolledWatches::
/home/src/Library/Caches/typescript/node_modules/@types/bar/package.json: *new*
@@ -1133,14 +1052,9 @@ FsWatchesRecursive::
/users/user/projects/project1/node_modules:
{}
Timeout callback:: count: 2
4: *ensureProjectForOpenFiles* *deleted*
7: /users/user/projects/project1/jsconfig.json *new*
8: *ensureProjectForOpenFiles* *new*
Projects::
/users/user/projects/project1/jsconfig.json (Configured) *changed*
projectStateVersion: 5 *changed*
projectStateVersion: 3
projectProgramVersion: 3 *changed*
dirty: false *changed*
@@ -1162,40 +1076,8 @@ ScriptInfos::
containingProjects: 0 *changed*
/users/user/projects/project1/jsconfig.json *deleted*
Before running Timeout callback:: count: 2
7: /users/user/projects/project1/jsconfig.json
8: *ensureProjectForOpenFiles*
Before running Timeout callback:: count: 0
Info seq [hh:mm:ss:mss] Running: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
Info seq [hh:mm:ss:mss] Project '/users/user/projects/project1/jsconfig.json' (Configured)
Info seq [hh:mm:ss:mss] Files (3)
Info seq [hh:mm:ss:mss] -----------------------------------------------
Info seq [hh:mm:ss:mss] Open files:
Info seq [hh:mm:ss:mss] FileName: /users/user/projects/project1/app.js ProjectRootPath: undefined
Info seq [hh:mm:ss:mss] Projects: /users/user/projects/project1/jsconfig.json
Info seq [hh:mm:ss:mss] got projects updated in background /users/user/projects/project1/app.js
Info seq [hh:mm:ss:mss] event:
{
"seq": 0,
"type": "event",
"event": "projectsUpdatedInBackground",
"body": {
"openFiles": [
"/users/user/projects/project1/app.js"
]
}
}
After running Timeout callback:: count: 0
Before running Timeout callback:: count: 0