You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug report => search github for a similar issue or PR before submitting
Current behavior
When building, the console throws these warnings:
> ngx-skeleton-loader-demo@2.10.0 build:pkg
> ng build ngx-skeleton-loader --prod
Building Angular Package
(node:34715) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:34715) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:34715) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
(node:34715) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
(node:34715) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
(node:34715) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
Expected behavior
no warnings/errors during build
Reproduction of the problem
run npm run build:pkg
Angular CLI: 9.1.12
Node: 14.17.0
OS: darwin x64
Angular: 9.1.12
What is the motivation / use case for changing the behavior?
The build should run without warnings/errors.
Please tell us about your environment:
Angular CLI: 9.1.12
Node: 14.17.0
OS: darwin x64
Angular: 9.1.12
More information:
npm run build:pkg:trace
> ngx-skeleton-loader-demo@2.10.0 build:pkg:trace
> node --trace-warnings ./node_modules/@angular/cli/bin/ng build ngx-skeleton-loader --prod
Building Angular Package
(node:34972) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
at emitCircularRequireWarning (internal/modules/cjs/loader.js:655:11)
at Object.get (internal/modules/cjs/loader.js:669:5)
at Boolean.Node [as constructor] (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/node.js:44:23)
at new Boolean (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/boolean.js:23:8)
at Object.<anonymous> (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/index.js:57:16)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
(node:34972) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
at emitCircularRequireWarning (internal/modules/cjs/loader.js:655:11)
at Object.get (internal/modules/cjs/loader.js:669:5)
at Boolean.Node [as constructor] (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/node.js:45:23)
at new Boolean (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/boolean.js:23:8)
at Object.<anonymous> (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/index.js:57:16)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
(node:34972) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
at emitCircularRequireWarning (internal/modules/cjs/loader.js:655:11)
at Object.get (internal/modules/cjs/loader.js:669:5)
at Boolean.Node [as constructor] (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/node.js:46:25)
at new Boolean (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/boolean.js:23:8)
at Object.<anonymous> (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/index.js:57:16)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
(node:34972) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency
at emitCircularRequireWarning (internal/modules/cjs/loader.js:655:11)
at Object.get (internal/modules/cjs/loader.js:669:5)
at Boolean.Node [as constructor] (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/node.js:44:23)
at new Boolean (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/boolean.js:23:8)
at Object.<anonymous> (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/index.js:58:17)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
(node:34972) Warning: Accessing non-existent property 'column' of module exports inside circular dependency
at emitCircularRequireWarning (internal/modules/cjs/loader.js:655:11)
at Object.get (internal/modules/cjs/loader.js:669:5)
at Boolean.Node [as constructor] (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/node.js:45:23)
at new Boolean (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/boolean.js:23:8)
at Object.<anonymous> (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/index.js:58:17)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
(node:34972) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency
at emitCircularRequireWarning (internal/modules/cjs/loader.js:655:11)
at Object.get (internal/modules/cjs/loader.js:669:5)
at Boolean.Node [as constructor] (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/node.js:46:25)
at new Boolean (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/boolean.js:23:8)
at Object.<anonymous> (/Users/nlrxk0145/github/ngx-skeleton-loader/node_modules/stylus/lib/nodes/index.js:58:17)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
npm ls stylus
ngx-skeleton-loader-demo@2.10.0 /Users/nlrxk0145/github/ngx-skeleton-loader
├─┬ @angular-devkit/build-angular@0.901.12
│ ├─┬ stylus-loader@3.0.2
│ │ └── stylus@0.54.7 deduped
│ └── stylus@0.54.7
└─┬ ng-packagr@10.1.1 invalid
As discussed on the pull request, this is happening because of the NodeJS version and it's not affecting the bundle or any other of the tasks in this project.
Saying that, I'm closing this issue. Thanks @rkristelijn !
I'm submitting a ... (check one with "x")
Current behavior
When building, the console throws these warnings:
Expected behavior
no warnings/errors during build
Reproduction of the problem
run
npm run build:pkg
What is the motivation / use case for changing the behavior?
The build should run without warnings/errors.
Please tell us about your environment:
More information:
It is related to stylus/stylus#2534
The text was updated successfully, but these errors were encountered: