我有一个 npm 错误出现在下面:
Building Angular Package
(node:27137) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:27137) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:27137) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:27137) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:27137) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:27137) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
我已经在我的 package.json 脚本块中的每个节点和 ncp 语句中放置了
--trace-warnings
,但我仍然没有得到有关警告的帮助。显然我没有将它包含在正确的脚本块中。它到底需要去哪里?