[Pkg-javascript-devel] Bug#893894: webpack fails to bundle gitlab	10.5 with error "export 'default' (imported as 'initForm')	was not found in '~/pages/projects/init_form'
    Pirate Praveen 
    praveen at debian.org
       
    Fri Mar 23 15:48:17 UTC 2018
    
    
  
Package: webpack
Severity: important
version: 3.5.6-3
Control: tag -1 help
The same works with yarn/npm installed webpack. To reproduce, you can
remove webpack from gitlab's package.json, build and install it.
It is one of the webpack's dependencies that is causing it as yarn will
bring all dependencies from npmjs.com.
[./help/help.js] ./help/help.js 252 bytes {help} [built]
[./how_to_merge.js] ./how_to_merge.js 301 bytes {how_to_merge} [built]
[./ide/index.js] ./ide/index.js + 87 modules 166 kB {ide} [built]
[./notes/index.js] ./notes/index.js + 2 modules 4.4 kB {notes} [built]
[./vue_shared/vue_resource_interceptor.js]
./vue_shared/vue_resource_interceptor.js 1 kB {pages.groups.show}
{common_vue} {filterable_list.js-cf4b97} {filterable_list.js-9fb8bf} [built]
[./webpack.js] ./webpack.js 353 bytes {webpack_runtime} [built]
[multi vendor/u2f] multi vendor/u2f 28 bytes {u2f} [built]
    + 1555 hidden modules
ERROR in ./pages/projects/snippets/edit/index.js
3:15-23 "export 'default' (imported as 'initForm') was not found in
'~/pages/projects/init_form'
ERROR in ./pages/projects/snippets/new/index.js
3:15-23 "export 'default' (imported as 'initForm') was not found in
'~/pages/projects/init_form'
ERROR in ./pages/projects/releases/edit/index.js
4:9-17 "export 'default' (imported as 'initForm') was not found in
'~/pages/projects/init_form'
ERROR in chunk filterable_list.js-cf4b97
[name].chunk.js
Unexpected token (5:9)
|
|
| function () {
|   new __WEBPACK_MODULE_REFERENCE__1_64656661756c74__(); //
eslint-disable-line no-new
|   __WEBPACK_MODULE_REFERENCE__4_64656661756c74_call__();
Child worker:
                             Asset    Size  Chunks             Chunk Names
    c3789bfe47e4e75a43bd.worker.js  188 kB    main  [emitted]  main
    [../../../../../../var/lib/gitlab/.node_modules/diff/dist/diff.js]
/var/lib/gitlab/.node_modules/diff/dist/diff.js 184 kB {main} [built]
[../../../../../lib/nodejs/babel-loader/lib/index.js!./ide/lib/diff/diff_worker.js]
/usr/lib/nodejs/babel-loader/lib!./ide/lib/diff/diff_worker.js + 1
modules 1.1 kB {main} [built]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180323/f7d9e734/attachment.sig>
    
    
More information about the Pkg-javascript-devel
mailing list