[Pkg-javascript-devel] Bug#1001794: node-handlebars: FTBFS with webpack5: Cannot find modules "aws-sdk" and "/usr/share/nodejs/terser-webpack-plugin/dist/cjs.js"

Caleb Adepitan calebpitan at gmail.com
Thu Dec 16 11:55:11 GMT 2021


Source: node-handlebars
Version: 4.7.7+~4.1.0-1
Severity: important
Tags: ftbfs
User: pkg-javascript-devel at alioth-lists.debian.net
Usertags: webpack5

Hi,

We are starting to build against webpack5 in experimental and the 
package needed for local build is webpack and node-webpack-source from 
experimental.
During a test rebuild, node-handlebars was found to fail to build in 
that situation.

Relevant part (hopefully):

Loading "publish-to-aws.js" tasks...ERROR
 >> Error: Cannot find module 'aws-sdk'
 >> Require stack:
 >> - /<<PKGBUILDDIR>>/tasks/publish-to-aws.js
 >> - /usr/share/nodejs/grunt/lib/grunt/task.js
 >> - /usr/share/nodejs/grunt/lib/grunt.js
 >> - /usr/share/nodejs/grunt-cli/bin/grunt

Running "parser" task
Parser "lib/handlebars/compiler/parser.js" created.

Running "babel:cjs" (babel) task

Running "webpack" task
Warning: Cannot find module 
'/usr/share/nodejs/terser-webpack-plugin/dist/cjs.js'. Please verify 
that the package.json has a valid "main" entry Use --force to continue.

Aborted due to warnings.

The full log is attached to this mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-handlebars.log
Type: text/x-log
Size: 108082 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211216/50bcd4cc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8A1B2CC96775D2D7.asc
Type: application/pgp-keys
Size: 3139 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211216/50bcd4cc/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211216/50bcd4cc/attachment.sig>


More information about the Pkg-javascript-devel mailing list