Vue-cli: Chunk file names are excessively long

Created on 11 Sep 2018  路  8Comments  路  Source: vuejs/vue-cli

Version

3.0.2

Reproduction link

https://github.com/phil-scott-78/showplan.js

Node and OS info

Node v8.11.2, Windows 10 (deploying to Azure)

Steps to reproduce

npm run build

check the size of the file names of the chunks

What is expected?

Files created have names > 250 characters. This becomes an issue when deploying to Windows servers and Azure

What is actually happening?

Files such as this are being created.

dist\js\chunk-006c_0410_075d_0fde_1111
_12c9_2f08_346d_36f6_436c_47d3_5844_62
d8_62eb_7423_7aa1_7daa_85ac_85be_89b1_
8ddc_95ec_b9a6_bccc_bdfc_6_13_10_8_14_
18_11_15_7_9_16_17_12_c197_c578_d7a2_e
031_f41f_f817.15e205eb.js


This stems from 3933187f7339e9e71ae1bcdb9f3e7e98ae39eb6d which is now creating chunk names with all the ids contacted together.

bug needs team repro now

Most helpful comment

According to reports in #2488 reverting to 3.0.1 fixes it for the moment.

We will investigate and fix asap.

All 8 comments

This is breaking our windows build enviroment with a Error: ENOENT: no such file or directory

dist\js\chunk-03dd_07c7_087d_08cc_0b07_0d24_1290_1368_1838_18d8_1a8c_1c3c_1cec_1efc_1fc8_20ec_234d_2474_2478_2524_253c_26e8_28c9_2d7c_2fcc_30c9_32f4_34ac_3698_39ff_3bb4_4245_4284_42a2_49f4_50d8_55a3_57a5_5e2e_6044_642a_656b_67ca_69d5_6fcd_73ac_743f_79bc_7a48_7b83_7b97_7c64_7d1f_7e64_7ed2_802a_8604_91e9_93ed_9520_9638_966f_99d3_9b02_a2be_a524_a994_ac41_b047_b1e5_b218_b4c0_b5a7_badf_bbc0_c05f_c098_c584_c869_cb5a_cd9d_d02c_d327_d370_d612_da03_dc0f_dc57_e24b_e2c0_e2e4_e380_e3f8_eac5_ec69_edfa_ef5d_efb6_f4d6_f608_f9ce_fba5-legacy.0b94e74d.js

I have the same thing in Ubuntu with css file

According to reports in #2488 reverting to 3.0.1 fixes it for the moment.

We will investigate and fix asap.

@FFxSquall @rlightner @phil-scott-78 Have you solved it yet?

@rzp1 fixed in v3.0.3

@rzp1 fixed for me in v3.0.3 as well

thanks

then same problem on Windows and Ubuntu. vue-cli version 3.0.3

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brandon93s picture brandon93s  路  3Comments

joshuajohnson814 picture joshuajohnson814  路  3Comments

Gonzalo2683 picture Gonzalo2683  路  3Comments

Benzenes picture Benzenes  路  3Comments

sanderswang picture sanderswang  路  3Comments