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

Error in building #4

Open
jimchen1980 opened this issue Aug 4, 2017 · 7 comments
Open

Error in building #4

jimchen1980 opened this issue Aug 4, 2017 · 7 comments

Comments

@jimchen1980
Copy link

           Chunk Names
           static/js/vendor.5e5a0381ee3bb07fbe8d.js    3.62 MB       0  [emi                                   tted]  [big]  vendor
              static/js/app.2d4c5402137aad281620.js     224 kB       1  [emi                                   tted]         app
         static/js/manifest.a74e134a1093d40250ce.js    1.51 kB       2  [emi                                   tted]         manifest
static/css/app.0d2897a5be64bc6b24e7e7e7679e3cf0.css    9.69 kB       1  [emi                                   tted]         app
       static/js/vendor.5e5a0381ee3bb07fbe8d.js.map    4.46 MB       0  [emi                                   tted]         vendor
          static/js/app.2d4c5402137aad281620.js.map    1.74 MB       1  [emi                                   tted]         app

static/css/app.0d2897a5be64bc6b24e7e7e7679e3cf0.css.map 21.6 kB 1 [emi tted] app
static/js/manifest.a74e134a1093d40250ce.js.map 14.6 kB 2 [emi tted] manifest
index.html 522 bytes [emi tted]

ERROR in static/js/vendor.5e5a0381ee3bb07fbe8d.js from UglifyJs
Unexpected token: name (Ceri) [./~/ceri/lib/wrapper.js:15,0][static/js/vendor.5e 5a0381ee3bb07fbe8d.js:46727,16]

Build complete.

Tip: built files are meant to be served over an HTTP server.
Opening index.html over file:// won't work.

root@iZj6c1hdhubslyveeg4tskZ:/data/wwwroot/iota.oxifus.com# npm run build

[email protected] build /data/wwwroot/iota.oxifus.com
node build/build.js

⠴ building for production...[BABEL] Note: The code generator has deoptimised the styling of "/data/wwwroot/iota.oxifus.com/src/lib/iota.js" as it exceeds the ma x of "500KB".
⠼ building for production...
Starting to optimize CSS...
Processing static/css/app.0d2897a5be64bc6b24e7e7e7679e3cf0.css...
Processed static/css/app.0d2897a5be64bc6b24e7e7e7679e3cf0.css, before: 10023, after: 9691, ratio: 96.69%
Hash: c03589392573a3263093
Version: webpack 2.7.0
Time: 24785ms
Asset Size Chunks Chunk Names
static/js/vendor.5e5a0381ee3bb07fbe8d.js 3.62 MB 0 [emitted] [big] vendor
static/js/app.2d4c5402137aad281620.js 224 kB 1 [emitted] app
static/js/manifest.a74e134a1093d40250ce.js 1.51 kB 2 [emitted] manifest
static/css/app.0d2897a5be64bc6b24e7e7e7679e3cf0.css 9.69 kB 1 [emitted] app
static/js/vendor.5e5a0381ee3bb07fbe8d.js.map 4.46 MB 0 [emitted] vendor
static/js/app.2d4c5402137aad281620.js.map 1.74 MB 1 [emitted] app
static/css/app.0d2897a5be64bc6b24e7e7e7679e3cf0.css.map 21.6 kB 1 [emitted] app
static/js/manifest.a74e134a1093d40250ce.js.map 14.6 kB 2 [emitted] manifest
index.html 522 bytes [emitted]

ERROR in static/js/vendor.5e5a0381ee3bb07fbe8d.js from UglifyJs
Unexpected token: name (Ceri) [./~/ceri/lib/wrapper.js:15,0][static/js/vendor.5e5a0381ee3bb07fbe8d.js:46727,16]

@peterwilli
Copy link
Owner

What OS are you using?

@jimchen1980
Copy link
Author

Ubuntu 16.04

@peterwilli
Copy link
Owner

I'm using the same. I'm currently helping someone with the same problem (I think). I had the same problem too but forgot to document how I solved it. So I'm currently spawning a ubuntu VM and try to reproduce

@peterwilli
Copy link
Owner

peterwilli commented Aug 15, 2017

@jimchen1980 btw does it say build complete on the bottom? I have the same error but the build runs fine. Also if you want to test you can run npm run dev :) It'll open a browser with local page.
selection_001

@arancauchi
Copy link
Contributor

This looks like there is a problem translating the ceri-icon dependency during the uglify phase, which shouldn't be a problem after webpack has bundled all dependencies together

@jimchen1980
Copy link
Author

no, it does not run correctly, and all i only see is a blank page

@peterwilli
Copy link
Owner

I'll try to upgrade ceri-icon. When I started using it, it was in beta, maybe it's upgraded now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants