[Pkg-javascript-devel] Bug#950549: node-requirejs-text: package.json occupies the location supposed for node-requirejs

merkys at debian.org merkys at debian.org
Mon Feb 3 13:19:57 GMT 2020


Package: node-requirejs-text
Version: 2.3.6-1
Affects: node-requirejs node-grunt-contrib-requirejs

Hello,

node-requirejs-text installs its package.json to
/usr/share/nodejs/requirejs, where the package.json of node-requirejs is
expected to be. This results in the failing test (grunt test -v --debug)
for node-grunt-contrib-requirejs with the following output:

Registering "tasks" tasks.
Loading "requirejs.js" tasks...ERROR
>> ReferenceError: define is not defined

The problem disappears by moving node-requirejs-text's package.json to
/usr/share/nodejs/requirejs/text/. However, I'm not sure how to check
how this change affects node-requirejs-text itself.

Best,
Andrius



More information about the Pkg-javascript-devel mailing list