question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building release via Gulp fails on Windows

See original GitHub issue

Bug, feature request, or proposal:

When I run gulp build:release it fails at :build:components:ngc

What is the expected behavior?

To run build:release without errors.

What is the current behavior?

[10:34:46] Using gulpfile c:\Entwicklung\Visual Studio Code\material2\gulpfile.js
[10:34:46] Starting 'build:release'...
[10:34:46] Starting 'clean'...
[10:34:46] Finished 'clean' after 361 ms
[10:34:46] Starting ':build:components:ts'...
[10:34:46] Starting ':build:components:assets'...
[10:34:46] Starting ':build:components:scss'...
[10:34:57] Finished ':build:components:assets' after 11 s
[10:34:58] Finished ':build:components:ts' after 12 s
[10:35:00] Finished ':build:components:scss' after 14 s
[10:35:00] Starting 'build:components'...
[10:35:00] Finished 'build:components' after 98 ms
[10:35:00] Starting ':build:components:ngc'...
binPath: C:\Entwicklung\Visual Studio Code\material2\node_modules\@angular\compiler-cli\src\main.js
args: ["-p","src\\lib"]
options: {}
Error: spawn UNKNOWN
    at exports._errnoException (util.js:1012:11)
    at ChildProcess.spawn (internal/child_process.js:302:11)
    at Object.exports.spawn (child_process.js:372:9)
    at ../../tools/gulp/task_helpers.ts:86:40
    at ../../tools/gulp/task_helpers.ts:136:41
    at C:\Entwicklung\Visual Studio Code\material2\node_modules\resolve-bin\index.js:40:5
    at C:\Entwicklung\Visual Studio Code\material2\node_modules\find-parent-dir\index.js:25:26
    at FSReqWrap.cb [as oncomplete] (fs.js:257:19)

What are the steps to reproduce?

Switch to the material2 root folder and run gulp build:release.

Which versions of Angular, Material, OS, browsers are affected?

OS: Microsoft Windows [Version 6.1.7601] -->Windows 7 Node: v6.3.1 Last fetched: 2016-08-29 07:20 UTC

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
radarsucommented, Sep 18, 2016

Also have this problem.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 5, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gulp command not found - error after installing gulp
Running npm list gulp (or -g), I gulp@3.7.0 with the location of either my global or local gulp installation. I've tried running node...
Read more >
Installing gulp-watch on WindowsBash fails on a dependency
I'm stuck by gulp watcher failures, which while are not critical, is needed for gulp-sass as we update and modify files. It should...
Read more >
CI Build broken by Gulp Error - Visual Studio Feedback
We have a CI build we've been using for the last 6 months that includes npm install and gulp steps. Today when we...
Read more >
Error MSB3073 - MSDN - Microsoft
Error MSB3073 The command ""C:\Users\username\.nuget\packages\gulp.js\1.0.2\build\..\tools\npm.cmd" install gulp gulp-util --save-dev" ...
Read more >
windows-build-tools - npm
Install C++ Build Tools for Windows using npm. Latest version: 5.2.2, last published: 3 years ago. Start using windows-build-tools in your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found