These are chat archives for AngularClass/angular2-webpack-starter

5th
Feb 2017
Dave Bosley
@DBosley
Feb 05 2017 00:26

I cloned the repo and ran 2 commands:

npm i
npm run github-deploy:prod

For some reason, I get errors while compiling the ts files. The errors complain that node_modules/typescript/lib/package.json doesn't exist, but I'm pretty sure there isn't supposed to be a package.json there

This message was deleted
here are the errors:
ERROR in ./src/polyfills.browser.ts
Module build failed: Error: Cannot find module 'C:\_Dev\Github\dbosley-info\node_modules\typescript\lib\package.json'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at setupTs (C:\_Dev\Github\dbosley-info\node_modules\awesome-typescript-loader\src\instance.ts:162:29)
    at Object.ensureInstance (C:\_Dev\Github\dbosley-info\node_modules\awesome-typescript-loader\src\instance.ts:84:24)
    at compiler (C:\_Dev\Github\dbosley-info\node_modules\awesome-typescript-loader\src\index.ts:40:22)
    at Object.loader (C:\_Dev\Github\dbosley-info\node_modules\awesome-typescript-loader\src\index.ts:14:18)

ERROR in ./src/main.browser.ts
Module build failed: Error: Cannot find module 'C:\_Dev\Github\dbosley-info\node_modules\typescript\lib\package.json'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at setupTs (C:\_Dev\Github\dbosley-info\node_modules\awesome-typescript-loader\src\instance.ts:162:29)
    at Object.ensureInstance (C:\_Dev\Github\dbosley-info\node_modules\awesome-typescript-loader\src\instance.ts:84:24)
    at compiler (C:\_Dev\Github\dbosley-info\node_modules\awesome-typescript-loader\src\index.ts:40:22)
    at Object.loader (C:\_Dev\Github\dbosley-info\node_modules\awesome-typescript-loader\src\index.ts:14:18)
Dave Bosley
@DBosley
Feb 05 2017 00:47
same thing happens with AOT release build
rickszyr
@rickszyr
Feb 05 2017 21:15
hey! is it possible that the videos for AngularClass website are not working?
Ryan
@ryansonshine
Feb 05 2017 22:44
@rickszyr which videos? if you provide me with a link I can let you know if they're working for me