Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

gulp build:release error #41

@paulogr

Description

@paulogr

I'm trying to build the project to use it but getting the below error

My environment is

  • node: 6.5.0
  • typescript: 2.1.4

Thank you for help.

[00:54:04] Using gulpfile ~/dev/flex-layout/gulpfile.js
[00:54:04] Starting 'build:release'...
[00:54:04] Starting 'clean'...
[00:54:04] Finished 'clean' after 52 ms
[00:54:04] Starting ':build:components:ts'...
[00:54:06] Finished ':build:components:ts' after 2.66 s
[00:54:06] Starting ':build:components:rollup'...
[00:54:08] Finished ':build:components:rollup' after 1.28 s
[00:54:08] Starting 'build:components'...
[00:54:08] Finished 'build:components' after 6.85 μs
[00:54:08] Starting ':build:components:ngc'...
TypeError: Cannot read property 'text' of undefined
    at NodeObject.getText (/Users/paulogr/dev/flex-layout/node_modules/typescript/lib/typescript.js:78080:30)
    at Evaluator.evaluateNode (/Users/paulogr/dev/flex-layout/node_modules/@angular/tsc-wrapped/src/evaluator.js:495:66)
    at _loop_1 (/Users/paulogr/dev/flex-layout/node_modules/@angular/tsc-wrapped/src/collector.js:306:54)
    at /Users/paulogr/dev/flex-layout/node_modules/@angular/tsc-wrapped/src/collector.js:365:25
    at visitEachNode (/Users/paulogr/dev/flex-layout/node_modules/typescript/lib/typescript.js:13907:30)
    at Object.forEachChild (/Users/paulogr/dev/flex-layout/node_modules/typescript/lib/typescript.js:14078:24)
    at MetadataCollector.getMetadata (/Users/paulogr/dev/flex-layout/node_modules/@angular/tsc-wrapped/src/collector.js:204:12)
    at MetadataWriterHost.writeMetadata (/Users/paulogr/dev/flex-layout/node_modules/@angular/tsc-wrapped/src/compiler_host.js:111:51)
    at MetadataWriterHost.writeFile (/Users/paulogr/dev/flex-layout/node_modules/@angular/tsc-wrapped/src/compiler_host.js:103:19)
    at Object.writeFile (/Users/paulogr/dev/flex-layout/node_modules/typescript/lib/typescript.js:62522:132)
Compilation failed
[00:54:13] ':build:components:ngc' errored after 5.16 s
[00:54:13] Error: Process failed with code 1
    at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10)
    at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15)
    at emitOne (events.js:101:20)
    at Gulp.emit (events.js:188:7)
    at Gulp.Orchestrator._emitTaskDone (/Users/paulogr/dev/flex-layout/node_modules/orchestrator/index.js:264:8)
    at /Users/paulogr/dev/flex-layout/node_modules/orchestrator/index.js:275:23
    at finish (/Users/paulogr/dev/flex-layout/node_modules/orchestrator/lib/runTask.js:21:8)
    at cb (/Users/paulogr/dev/flex-layout/node_modules/orchestrator/lib/runTask.js:29:3)
    at ChildProcess.<anonymous> (/Users/paulogr/dev/flex-layout/tools/gulp/task_helpers.ts:93:11)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)
[00:54:13] 'build:release' errored after 9.18 s
[00:54:13] Error in plugin 'run-sequence(:build:components:ngc)'
Message:
    Process failed with code 1
Stack:
    at finish (/Users/paulogr/dev/flex-layout/node_modules/run-sequence/index.js:56:13)
    at Gulp.onError (/Users/paulogr/dev/flex-layout/node_modules/run-sequence/index.js:67:4)
    at emitOne (events.js:101:20)
    at Gulp.emit (events.js:188:7)
    at Gulp.Orchestrator._emitTaskDone (/Users/paulogr/dev/flex-layout/node_modules/orchestrator/index.js:264:8)
    at /Users/paulogr/dev/flex-layout/node_modules/orchestrator/index.js:275:23
    at finish (/Users/paulogr/dev/flex-layout/node_modules/orchestrator/lib/runTask.js:21:8)
    at cb (/Users/paulogr/dev/flex-layout/node_modules/orchestrator/lib/runTask.js:29:3)
    at ChildProcess.<anonymous> (/Users/paulogr/dev/flex-layout/tools/gulp/task_helpers.ts:93:11)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Socket.<anonymous> (internal/child_process.js:334:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions