Skip to content

Instantly share code, notes, and snippets.

@ryzy
Created July 25, 2017 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryzy/4f9526165b3ab53fd13f61328d093214 to your computer and use it in GitHub Desktop.
Save ryzy/4f9526165b3ab53fd13f61328d093214 to your computer and use it in GitHub Desktop.
$ ./node_modules/.bin/ng build -prod
10% building modules 5/7 modules 2 active ...y/Projects/ng130-rc1/src/polyfills.tsThe final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string
Date: 2017-07-25T13:38:57.296Z
Hash: 09f0d385e550699e1598
Time: 8137ms
chunk {0} polyfills.dd45430000a45d374f3f.bundle.js (polyfills) 96.2 kB {4} [initial] [rendered]
chunk {1} main.17af88c8e59171accd9c.bundle.js (main) 411 bytes {3} [initial] [rendered]
chunk {2} styles.d41d8cd98f00b204e980.bundle.css (styles) 0 bytes {4} [initial] [rendered]
chunk {3} vendor.8542a2935620d014b820.bundle.js (vendor) 210 kB [initial] [rendered]
chunk {4} inline.30c43ecf816783e63fa7.bundle.js (inline) 1.45 kB [entry] [rendered]
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/Users/ryzy/Projects/ng130-rc1/src'
resolve './$$_gendir/app/app.module.ngfactory' in '/Users/ryzy/Projects/ng130-rc1/src'
using description file: /Users/ryzy/Projects/ng130-rc1/package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/ryzy/Projects/ng130-rc1/package.json (relative path: ./src)
using description file: /Users/ryzy/Projects/ng130-rc1/package.json (relative path: ./src/$$_gendir/app/app.module.ngfactory)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/ryzy/Projects/ng130-rc1/src/$$_gendir/app/app.module.ngfactory doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/ryzy/Projects/ng130-rc1/src/$$_gendir/app/app.module.ngfactory.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/ryzy/Projects/ng130-rc1/src/$$_gendir/app/app.module.ngfactory.js doesn't exist
as directory
/Users/ryzy/Projects/ng130-rc1/src/$$_gendir/app/app.module.ngfactory doesn't exist
[/Users/ryzy/Projects/ng130-rc1/src/$$_gendir/app/app.module.ngfactory]
[/Users/ryzy/Projects/ng130-rc1/src/$$_gendir/app/app.module.ngfactory.ts]
[/Users/ryzy/Projects/ng130-rc1/src/$$_gendir/app/app.module.ngfactory.js]
[/Users/ryzy/Projects/ng130-rc1/src/$$_gendir/app/app.module.ngfactory]
@ ./src/main.ts 3:0-74
@ multi ./src/main.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment