[Pkg-javascript-devel] Bug#979531: lodash/fp does not have all the files shipped by npm dist.tarball

Pirate Praveen praveen at onenetbeyond.org
Thu Jan 7 19:11:19 GMT 2021


Package: node-lodash
Version: 4.17.20+dfsg+~cs8.31.172-1
Severity: important
Control: affects -1 gitlab
Control: tags -1 help

gitlab package from salsa master-13.5 branch fails with this error 
during installation.

ERROR in 
/environments/components/environments_table.vue?vue&type=script&lang=js& 
(/usr/share/nodejs/babel-loader/lib??ref--1!/var/lib/gitlab/node_modules/vue-loader/lib??vue-loader-options!./environments/components/environments_table.vue?vue&type=script&lang=js&)
Module build failed (from /usr/share/nodejs/babel-loader/lib/index.js):
SyntaxError: 
/usr/share/gitlab/app/assets/javascripts/environments/components/environments_table.vue: 
The 'lodash' method `flow` is not a known module.
Please report bugs to 
https://github.com/lodash/babel-plugin-lodash/issues.
  132 | * 5. Put folders first.
  133 | */
 > 134 | return flow(
      | ^^^^
  135 | sortBy(env => (env.isFolder ? env.folderName : env.name)),
  136 | reverse,
  137 | sortBy(env => (env.last_deployment ? 
env.last_deployment.created_at : '0000')),
    at File.buildCodeFrameError 
(/usr/share/nodejs/@babel/core/lib/transformation/file/file.js:250:12)
    at NodePath.buildCodeFrameError 
(/usr/share/nodejs/@babel/traverse/lib/path/index.js:138:21)
    at resolvePath 
(/usr/share/nodejs/babel-plugin-lodash/lib/importModule.js:28:18)
    at importModule 
(/usr/share/nodejs/babel-plugin-lodash/lib/importModule.js:36:53)
    at memoized (/usr/share/nodejs/lodash/memoize.js:65:23)
    at /usr/share/nodejs/babel-plugin-lodash/lib/index.js:187:62
    at arrayEach (/usr/share/nodejs/lodash/_arrayEach.js:18:9)
    at forEach (/usr/share/nodejs/lodash/forEach.js:41:10)
    at /usr/share/nodejs/babel-plugin-lodash/lib/index.js:177:30
    at arrayEach (/usr/share/nodejs/lodash/_arrayEach.js:18:9)
    at forEach (/usr/share/nodejs/lodash/forEach.js:41:10)
    at /usr/share/nodejs/babel-plugin-lodash/lib/index.js:165:28
    at arrayEach (/usr/share/nodejs/lodash/_arrayEach.js:18:9)
    at forEach (/usr/share/nodejs/lodash/forEach.js:41:10)
    at PluginPass.Program 
(/usr/share/nodejs/babel-plugin-lodash/lib/index.js:154:26)
    at newFn (/usr/share/nodejs/@babel/traverse/lib/visitors.js:175:21)
    at NodePath._call 
(/usr/share/nodejs/@babel/traverse/lib/path/context.js:55:20)
    at NodePath.call 
(/usr/share/nodejs/@babel/traverse/lib/path/context.js:42:17)
    at NodePath.visit 
(/usr/share/nodejs/@babel/traverse/lib/path/context.js:92:31)
    at TraversalContext.visitQueue 
(/usr/share/nodejs/@babel/traverse/lib/context.js:115:16)
    at TraversalContext.visitSingle 
(/usr/share/nodejs/@babel/traverse/lib/context.js:84:19)
    at TraversalContext.visit 
(/usr/share/nodejs/@babel/traverse/lib/context.js:143:19)
    at Function.traverse.node 
(/usr/share/nodejs/@babel/traverse/lib/index.js:82:17)
    at traverse (/usr/share/nodejs/@babel/traverse/lib/index.js:64:12)
    at transformFile 
(/usr/share/nodejs/@babel/core/lib/transformation/index.js:107:29)
    at transformFile.next (<anonymous>)
    at run 
(/usr/share/nodejs/@babel/core/lib/transformation/index.js:35:12)
    at run.next (<anonymous>)
    at Function.transform 
(/usr/share/nodejs/@babel/core/lib/transform.js:27:41)
    at transform.next (<anonymous>)
    at step (/usr/share/nodejs/gensync/index.js:254:32)
    at /usr/share/nodejs/gensync/index.js:266:13
    at async.call.result.err.err 
(/usr/share/nodejs/gensync/index.js:216:11)
 @ 
/environments/components/environments_table.vue?vue&type=script&lang=js& 
1:0-225 1:241-244 1:246-468 1:246-468
 @ ./environments/components/environments_table.vue
 @ ./environments/mixins/environments_mixin.js
 @ ./environments/mount_show.js
 @ ./pages/projects/environments/show/index.js
 @ multi ./main ./pages/projects/index.js 
/pages/projects/environments/show/index.js

When 451 files are shipped with npmjs.com dist tarball of lodash in 
lodash/fp, only 101 files are shipped in debian package. And indeed 
flow.js is missing from the debian package.



More information about the Pkg-javascript-devel mailing list