We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(base) PS F:\orgchart> npm run build > [email protected] build > gulp build [13:32:27] Using gulpfile F:\OrgChart\gulpfile.js [13:32:27] Starting 'build'... [13:32:27] Starting 'js'... [13:32:27] Starting 'cleanupJS'... [13:32:27] Finished 'cleanupJS' after 4.43 ms [13:32:27] Starting 'eslint'... [13:32:27] Finished 'eslint' after 33 ms [13:32:27] Starting 'test'... [13:32:27] Starting 'e2e-tests'... [13:32:27] Starting 'addAssets'... [13:32:27] Starting 'integration-tests'... [13:32:27] Starting 'unit-tests'... (node:4680) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) orgchart -- unit tests √ loopChart() √ getHierarchy() √ getNodeState() √ getRelatedNodes() √ getParent() √ getSiblings() √ getChildren() √ hideParent() √ hideParentEnd() √ showParent() √ showParentEnd() √ hideChildren() √ hideChildrenEnd() √ showChildren() √ showChildrenEnd() hideSiblings() when passing only one parameter -- node √ should hide all the sibling nodes and their descendants when passing two parameters -- node and direction √ hide the left side sibling nodes and their descendants √ hide the right side sibling nodes and their descendants hideSiblingsEnd() when invoking transitionend event without specifying direction √ clean up final classList for hidden siblings when invoking transitionend event with specifying direction √ clean up final classList for left side hidden siblings √ clean up final classList for right side hidden siblings 21 passing (707ms) [13:32:29] Finished 'unit-tests' after 2.07 s [13:32:29] Starting '<anonymous>'... (node:24256) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) orgchart -- integration tests init() √ initialize chart with json datasource √ initialize chart with <ul> datasource √ initialize chart with the given visible level √ initialize chart with the given vertical level √ initCompleted should be invoked immediately after construting one node √ initialize chart with default className √ initialize chart with export button √ initialize chart with "bottom to top" direction √ reinitialize chart with drggable feature √ reinitialize chart with pan feature √ reinitialize chart with zoom feature initialize chart with various combinations of "visibleLevel" and "verticalLevel" √ verticalLevel=2 and visibleLevel=1 √ verticalLevel=2 and visibleLevel=2 √ verticalLevel=2 and visibleLevel=3 orgchart -- integration tests √ addParent() addChildren() √ Add child nodes to the leaf node √ Add child nodes to the un-leaf node addSiblings() √ Just add sibling nodes √ Add sibling nodes as well as parent node removeNodes() √ Remove leaf node √ Remove parent node √ Remove root node 22 passing (514ms) [13:32:31] Finished '<anonymous>' after 1.91 s [13:32:31] Finished 'integration-tests' after 3.98 s [13:32:31] Starting '<anonymous>'... [13:32:31] Finished '<anonymous>' after 18 ms [13:32:31] Finished 'addAssets' after 4 s [13:32:31] Starting '<anonymous>'... [13:32:31] The following tasks did not complete: build, js, test, e2e-tests, <anonymous> Did you forget to signal async completion? node:events:496 throw er; // Unhandled 'error' event ^ <ref *2> Error: write after end at writeAfterEnd (F:\OrgChart\node_modules\readable-stream\lib\_stream_writable.js:288:12) at Writable.write (F:\OrgChart\node_modules\readable-stream\lib\_stream_writable.js:332:20) at ReadableState.drain (F:\OrgChart\node_modules\streamx\index.js:353:47) at ReadableState.update (F:\OrgChart\node_modules\streamx\index.js:364:12) at ReadableState.updateReadNT (F:\OrgChart\node_modules\streamx\index.js:546:10) at process.processTicksAndRejections (node:internal/process/task_queues:85:11) Emitted 'error' event on Domain instance at: at Transform.emit (node:domain:540:12) at ReadableState.afterDestroy (F:\OrgChart\node_modules\streamx\index.js:503:19) at Transform._destroy (F:\OrgChart\node_modules\streamx\index.js:639:5) at ReadableState.updateNonPrimary (F:\OrgChart\node_modules\streamx\index.js:396:16) at ReadableState.update (F:\OrgChart\node_modules\streamx\index.js:377:71) at ReadableState.updateReadNT (F:\OrgChart\node_modules\streamx\index.js:546:10) at process.processTicksAndRejections (node:internal/process/task_queues:85:11) { domainEmitter: <ref *1> Transform { _events: [Object: null prototype] { newListener: [Function: newListener], pipe: [Function: bound onceWrapper] { listener: [Function: onPipe] } }, _eventsCount: 2, _maxListeners: undefined, _duplexState: 459316, _readableState: ReadableState { stream: [Circular *1], queue: FastFIFO { hwm: 16, head: FixedFIFO { buffer: [ undefined, undefined, undefined, undefined, <12 empty items> ], mask: 15, top: 4, btm: 4, next: null }, tail: FixedFIFO { buffer: [ undefined, undefined, undefined, undefined, <12 empty items> ], mask: 15, top: 4, btm: 4, next: null }, length: 0 }, highWaterMark: 0, buffered: 0, readAhead: true, error: [Circular *2], pipeline: Pipeline { from: [Circular *1], to: null, afterPipe: null, error: [Circular *2], pipeToFinished: false }, byteLength: [Function: defaultByteLength], map: null, pipeTo: <ref *3> Composer { _events: [Object: null prototype] { newListener: [ [Function: newListener], [Function: removeSink] ], removeListener: [Function: removeSink], piping: [Function: markSink], finish: [Function: bound finished], drain: [Function: bound afterDrain], end: [Function: bound onceWrapper] { listener: [Function: bound remove] } }, _eventsCount: 6, _maxListeners: undefined, _duplexState: 17170460, _readableState: ReadableState { stream: [Circular *3], queue: FastFIFO { hwm: 16, head: [FixedFIFO], tail: [FixedFIFO], length: 0 }, highWaterMark: 0, buffered: 0, readAhead: true, error: [Circular *2], pipeline: Pipeline { from: null, to: null, afterPipe: null, error: [Circular *2], pipeToFinished: true }, byteLength: [Function: defaultByteLength], map: null, pipeTo: PassThrough { _readableState: [ReadableState], readable: false, _events: [Object: null prototype], _eventsCount: 7, _maxListeners: 0, _writableState: [WritableState], writable: false, allowHalfOpen: true, _transformState: [Object], add: [Function: add], isEmpty: [Function: isEmpty], [Symbol(shapeMode)]: true, [Symbol(kCapture)]: false }, afterRead: [Function: bound afterRead], afterUpdateNextTick: [Function: bound updateReadNT] }, _writableState: WritableState { stream: [Circular *3], queue: FastFIFO { hwm: 16, head: [FixedFIFO], tail: [FixedFIFO], length: 0 }, highWaterMark: 0, buffered: 0, error: [Circular *2], pipeline: Pipeline { from: [Circular *1], to: null, afterPipe: null, error: [Circular *2], pipeToFinished: false }, drains: null, byteLength: [Function: defaultByteLength], map: null, afterWrite: [Function: bound afterWrite], afterUpdateNextTick: [Function: bound updateWriteNT] }, _writable: <ref *4> Transform { _events: [Object: null prototype] { newListener: [Function: newListener], drain: [Function: bound _continueWrite], finish: [Function: bound _maybeFinal], error: [Array], close: [Function: bound destroy] }, _eventsCount: 5, _maxListeners: undefined, _duplexState: 17236508, _readableState: ReadableState { stream: [Circular *4], queue: [FastFIFO], highWaterMark: 0, buffered: 0, readAhead: true, error: Error: Stream was destroyed at Object.<anonymous> (F:\OrgChart\node_modules\streamx\index.js:2:26) at Module._compile (node:internal/modules/cjs/loader:1546:14) at Object..js (node:internal/modules/cjs/loader:1689:10) at Module.load (node:internal/modules/cjs/loader:1318:32) at Function._load (node:internal/modules/cjs/loader:1128:12) at TracingChannel.traceSync (node:diagnostics_channel:315:14) at wrapModuleLoad (node:internal/modules/cjs/loader:218:24) at Module.require (node:internal/modules/cjs/loader:1340:12) at require (node:internal/modules/helpers:141:16) at Object.<anonymous> (F:\OrgChart\node_modules\glob-stream\index.js:9:16), pipeline: [Pipeline], byteLength: [Function: defaultByteLength], map: null, pipeTo: [Transform], afterRead: [Function: bound afterRead], afterUpdateNextTick: [Function: bound updateReadNT] }, _writableState: WritableState { stream: [Circular *4], queue: [FastFIFO], highWaterMark: 0, buffered: 0, error: Error: Stream was destroyed at Object.<anonymous> (F:\OrgChart\node_modules\streamx\index.js:2:26) at Module._compile (node:internal/modules/cjs/loader:1546:14) at Object..js (node:internal/modules/cjs/loader:1689:10) at Module.load (node:internal/modules/cjs/loader:1318:32) at Function._load (node:internal/modules/cjs/loader:1128:12) at TracingChannel.traceSync (node:diagnostics_channel:315:14) at wrapModuleLoad (node:internal/modules/cjs/loader:218:24) at Module.require (node:internal/modules/cjs/loader:1340:12) at require (node:internal/modules/helpers:141:16) at Object.<anonymous> (F:\OrgChart\node_modules\glob-stream\index.js:9:16), pipeline: null, drains: null, byteLength: [Function: defaultByteLength], map: null, afterWrite: [Function: bound afterWrite], afterUpdateNextTick: [Function: bound updateWriteNT] }, _transformState: TransformState { data: null, afterTransform: [Function: bound afterTransform], afterFinal: null }, _transform: [Function: normalize], [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false }, _readable: <ref *5> Transform { _events: [Object: null prototype] { newListener: [Function: newListener], data: [Function: bound _pushData], end: [Function: bound _pushEnd], error: [Array], close: [Array], finish: [Array], drain: [Function: bound afterDrain] }, _eventsCount: 7, _maxListeners: undefined, _duplexState: 84347140, _readableState: ReadableState { stream: [Circular *5], queue: [FastFIFO], highWaterMark: 0, buffered: 0, readAhead: true, error: Error: Stream was destroyed at Object.<anonymous> (F:\OrgChart\node_modules\streamx\index.js:2:26) at Module._compile (node:internal/modules/cjs/loader:1546:14) at Object..js (node:internal/modules/cjs/loader:1689:10) at Module.load (node:internal/modules/cjs/loader:1318:32) at Function._load (node:internal/modules/cjs/loader:1128:12) at TracingChannel.traceSync (node:diagnostics_channel:315:14) at wrapModuleLoad (node:internal/modules/cjs/loader:218:24) at Module.require (node:internal/modules/cjs/loader:1340:12) at require (node:internal/modules/helpers:141:16) at Object.<anonymous> (F:\OrgChart\node_modules\glob-stream\index.js:9:16), pipeline: null, byteLength: [Function: defaultByteLength], map: null, pipeTo: null, afterRead: [Function: bound afterRead], afterUpdateNextTick: [Function: bound updateReadNT] }, _writableState: WritableState { stream: [Circular *5], queue: [FastFIFO], highWaterMark: 0, buffered: 0, error: Error: Stream was destroyed at Object.<anonymous> (F:\OrgChart\node_modules\streamx\index.js:2:26) at Module._compile (node:internal/modules/cjs/loader:1546:14) at Object..js (node:internal/modules/cjs/loader:1689:10) at Module.load (node:internal/modules/cjs/loader:1318:32) at Function._load (node:internal/modules/cjs/loader:1128:12) at TracingChannel.traceSync (node:diagnostics_channel:315:14) at wrapModuleLoad (node:internal/modules/cjs/loader:218:24) at Module.require (node:internal/modules/cjs/loader:1340:12) at require (node:internal/modules/helpers:141:16) at Object.<anonymous> (F:\OrgChart\node_modules\glob-stream\index.js:9:16), pipeline: [Pipeline], drains: null, byteLength: [Function: defaultByteLength], map: null, afterWrite: [Function: bound afterWrite], afterUpdateNextTick: [Function: bound updateWriteNT] }, _transformState: TransformState { data: null, afterTransform: [Function: bound afterTransform], afterFinal: null }, _transform: [Function: writeFile], [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false }, _isPipeline: true, _pipelineMissing: 2, _writeCallback: null, _finalCallback: null, _ondata: [Function: bound _pushData], _onend: [Function: bound _pushEnd], _ondrain: [Function: bound _continueWrite], _onfinish: [Function: bound _maybeFinal], _onerror: [Function: bound destroy], _onclose: [Function: bound destroy], [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false }, afterRead: [Function: bound afterRead], afterUpdateNextTick: [Function: bound updateReadNT] }, _writableState: WritableState { stream: [Circular *1], queue: FastFIFO { hwm: 16, head: FixedFIFO { buffer: [ <16 empty items> ], mask: 15, top: 0, btm: 0, next: null }, tail: FixedFIFO { buffer: [ <16 empty items> ], mask: 15, top: 0, btm: 0, next: null }, length: 0 }, highWaterMark: 0, buffered: 0, error: [Circular *2], pipeline: null, drains: null, byteLength: [Function: defaultByteLength], map: null, afterWrite: [Function: bound afterWrite], afterUpdateNextTick: [Function: bound updateWriteNT] }, _predestroy: [Function: predestroy], _transformState: TransformState { data: null, afterTransform: [Function: bound afterTransform], afterFinal: [Function: bound afterFinal] }, _flush: [Function: flush], _read: [Function (anonymous)], [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false }, domainThrown: false } Node.js v22.10.0
when I run npm run build and npm run start, the error appeared, how to fix it?
npm run build
npm run start
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when I run
npm run build
andnpm run start
, the error appeared, how to fix it?The text was updated successfully, but these errors were encountered: