intern icon indicating copy to clipboard operation
intern copied to clipboard

Build warnings in Node 14

Open jason0x43 opened this issue 4 years ago • 3 comments

When building Intern 4.x or 5 under Node 14, many circular dependency warnings will be displayed:

(node:87088) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:87088) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:87088) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:87088) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:87088) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency

These don't affect the build process, they're just annoying. They also don't affect Intern when used as a library, only the Intern build process.

The culprits appear to be shelljs and stylus. Shelljs fixes the issue in v0.8.4. Stylus doesn't yet have a fix.

jason0x43 avatar May 14 '20 13:05 jason0x43

See https://github.com/stylus/stylus/issues/2534, https://github.com/shelljs/shelljs/issues/991

jason0x43 avatar May 14 '20 13:05 jason0x43

Partially addressed in 64e305d6

jason0x43 avatar May 17 '20 14:05 jason0x43

This issue has been resolved for stylus 0.54.8 and does not display these errors anymore. See #2538. This issue can be closed.

sunderla avatar Nov 27 '21 18:11 sunderla