Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production build fails #7646

Closed
AmitMY opened this issue Sep 10, 2017 · 3 comments
Closed

Production build fails #7646

AmitMY opened this issue Sep 10, 2017 · 3 comments
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent severity3: broken

Comments

@AmitMY
Copy link
Contributor

AmitMY commented Sep 10, 2017

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.4.1
node: 8.4.0
os: win32 x64
@angular/animations: 4.3.6
@angular/common: 4.3.6
@angular/compiler: 4.3.6
@angular/core: 4.3.6
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/router: 4.3.6
@angular/cli: 1.4.1
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6
typescript: 2.3.4

Repro steps.

ng build --prod

The log given by the failure.

ng build --prod
Date: 2017-09-10T14:08:09.449Z
Hash: 1597dc528e5411ab3bb4
Time: 17346ms
chunk {0} polyfills.67d068662b88f84493d2.bundle.js (polyfills) 64.1 kB {4} [initial] [rendered]
chunk {1} main.2337b90653a0c45c31e8.bundle.js (main) 23.7 kB {3} [initial] [rendered]
chunk {2} styles.d099489fcced365e3169.bundle.css (styles) 18 kB {4} [initial] [rendered]
chunk {3} vendor.5c27761de53ff74202e9.bundle.js (vendor) 1.81 MB [initial] [rendered]
chunk {4} inline.2a33c113af51e7e703d8.bundle.js (inline) 1.45 kB [entry] [rendered]

ERROR in vendor.5c27761de53ff74202e9.bundle.js from UglifyJs
Name expected [vendor.5c27761de53ff74202e9.bundle.js:16309,18]

Desired functionality.

Either a more readable error, or for it to work

Mention any other details that might be useful.

Trying to build https://github.com/Webiks/force-horse-demo
It is in early stages, so it uses a local dependency in the styles.css file, which if you want to build locally you need to remove (first line of that file)

@wingsbob
Copy link

I think all these issues are supposed to be gathered in #2907

@Brocco Brocco added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent severity3: broken labels Sep 22, 2017
@filipesilva
Copy link
Contributor

This issue is a duplicate of #5741. If you turn sourcemaps on you will see the cause of the error.

kamik@T460p MINGW64 D:/sandbox/force-horse-demo (master)
$ ng build --prod --sourcemap
Date: 2017-09-25T16:56:29.701Z
Hash: 06391c163276f0cc604a
Time: 17824ms
chunk {0} polyfills.5c955edf4d00da5aa0c4.bundle.js, polyfills.5c955edf4d00da5aa0c4.bundle.js.map (polyfills) 64.1 kB {4} [initial] [rendered]
chunk {1} main.3255f15663b5c44e7a15.bundle.js, main.3255f15663b5c44e7a15.bundle.js.map (main) 24 kB {3} [initial] [rendered]
chunk {2} styles.7411b9041dad72eeed20.bundle.css, styles.7411b9041dad72eeed20.bundle.css.map (styles) 80 bytes {4} [initial] [rendered]
chunk {3} vendor.b2354de14cefc17d1ccb.bundle.js, vendor.b2354de14cefc17d1ccb.bundle.js.map (vendor) 1.8 MB [initial] [rendered]
chunk {4} inline.d4208ee074e515fb2fcf.bundle.js, inline.d4208ee074e515fb2fcf.bundle.js.map (inline) 1.51 kB [entry] [rendered]

ERROR in vendor.b2354de14cefc17d1ccb.bundle.js from UglifyJs
Name expected [D:/sandbox/force-horse-demo/node_modules/force-horse/src/helpers/debug-logger/debug-logger.js:1,0][vendor.b2354de14cefc17d1ccb.bundle.js:16320,18]

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent severity3: broken
Projects
None yet
Development

No branches or pull requests

4 participants