You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce :
Please get the sample repository from : https://github.com/rinavin/Webclient.git
• Do npm install
• Run: ng build mscorelib ( this is a library)
• See the error bellow.
Works fine with version tsickle (0.35.0)
• Delete node_modules and package-lock.json
• Do npm install
• Run: ng build mscorelib ( this is a library)
• See library is created succesfully
BUILD ERROR
: TypeError: Cannot read property 'directoryExists' of undefined
at Object.directoryProbablyExists (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:12206:22)
at nodeLoadModuleByRelativeName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26869:25)
at tryResolve (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26845:34)
at D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:69
at Object.forEach (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:280:30)
at nodeModuleNameResolverWorker (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:25)
at nodeModuleNameResolver (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26808:16)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26590:30)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\googmodule.js:132:29)
at visitImportDeclaration (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\jsdoc_transformer.js:685:51)
Error: : TypeError: Cannot read property 'directoryExists' of undefined
at Object.directoryProbablyExists (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:12206:22)
at nodeLoadModuleByRelativeName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26869:25)
at tryResolve (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26845:34)
at D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:69
at Object.forEach (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:280:30)
at nodeModuleNameResolverWorker (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:25)
at nodeModuleNameResolver (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26808:16)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26590:30)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\googmodule.js:132:29)
at visitImportDeclaration (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\jsdoc_transformer.js:685:51)
at Object.<anonymous> (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\ng-packagr\lib\ngc\compile-source-files.js:53:68)
at Generator.next (<anonymous>)
at D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\ng-packagr\lib\ngc\compile-source-files.js:7:71
at new Promise (<anonymous>)
at __awaiter (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\ng-packagr\lib\ngc\compile-source-files.js:3:12)
at Object.compileSourceFiles (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\ng-packagr\lib\ngc\compile-source-files.js:19:12)
at Object.<anonymous> (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\ng-packagr\lib\ng-v5\entry-point\ts\compile-ngc.transform.js:26:32)
at Generator.next (<anonymous>)
at D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\ng-packagr\lib\ng-v5\entry-point\ts\compile-ngc.transform.js:7:71
at new Promise (<anonymous>)
An unhandled exception occurred: : TypeError: Cannot read property 'directoryExists' of undefined
at Object.directoryProbablyExists (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:12206:22)
at nodeLoadModuleByRelativeName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26869:25)
at tryResolve (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26845:34)
at D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:69
at Object.forEach (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:280:30)
at nodeModuleNameResolverWorker (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:25)
at nodeModuleNameResolver (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26808:16)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26590:30)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\googmodule.js:132:29)
at visitImportDeclaration (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\jsdoc_transformer.js:685:51)
The text was updated successfully, but these errors were encountered:
To reproduce :
Please get the sample repository from : https://github.com/rinavin/Webclient.git
• Do npm install
• Run: ng build mscorelib ( this is a library)
• See the error bellow.
Works fine with version tsickle (0.35.0)
• Delete node_modules and package-lock.json
• Do npm install
• Run: ng build mscorelib ( this is a library)
• See library is created succesfully
BUILD ERROR
: TypeError: Cannot read property 'directoryExists' of undefined
at Object.directoryProbablyExists (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:12206:22)
at nodeLoadModuleByRelativeName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26869:25)
at tryResolve (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26845:34)
at D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:69
at Object.forEach (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:280:30)
at nodeModuleNameResolverWorker (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:25)
at nodeModuleNameResolver (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26808:16)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26590:30)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\googmodule.js:132:29)
at visitImportDeclaration (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\jsdoc_transformer.js:685:51)
Error: : TypeError: Cannot read property 'directoryExists' of undefined
at Object.directoryProbablyExists (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:12206:22)
at nodeLoadModuleByRelativeName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26869:25)
at tryResolve (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26845:34)
at D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:69
at Object.forEach (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:280:30)
at nodeModuleNameResolverWorker (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:25)
at nodeModuleNameResolver (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26808:16)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26590:30)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\googmodule.js:132:29)
at visitImportDeclaration (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\jsdoc_transformer.js:685:51)
An unhandled exception occurred: : TypeError: Cannot read property 'directoryExists' of undefined
at Object.directoryProbablyExists (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:12206:22)
at nodeLoadModuleByRelativeName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26869:25)
at tryResolve (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26845:34)
at D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:69
at Object.forEach (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:280:30)
at nodeModuleNameResolverWorker (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26815:25)
at nodeModuleNameResolver (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26808:16)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\typescript\lib\typescript.js:26590:30)
at Object.resolveModuleName (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\googmodule.js:132:29)
at visitImportDeclaration (D:\temp\New folder\xpa4.5\Sources\Webclient\node_modules\tsickle\src\jsdoc_transformer.js:685:51)
The text was updated successfully, but these errors were encountered: