Solved

The Broccoli Plugin failed

Posted on 2016-07-16
4
88 Views
Last Modified: 2016-07-23
Hello Experts,

Doing my first step into learning Angular.

Following an a video tutorial I went to nodejs.org to download the "Download for OS X v6.3.0 Current"[/b].
Then I installed the package and got the flowing message:

Node.js was installed at /usr/local/bin/node. npm was installed at /usr/local/bin/npm. Make sure that /usr/local/bin is in your $PATH.

I then run the flowing command in the terminal :
 sudo npm install -g angular-cli 

Open in new window

After that i went on to the folder where i want to install angular
ng new angular2

Open in new window

and then
ng serve

Open in new window


I got these two lines back:

Livereload server on http://localhost:49153
Serving on http://localhost:4200/

Open in new window


When browsing to that page I see the following message:

Build error
The Broccoli Plugin: [Funnel] failed with: Error: Attempting to watch missing directory: typings


Looking at the terminal I saw before at the top something with "typings":

Unable to connect to "https://api.typings.org/entries/dt/selenium-webdriver/tags/2.44.0%2B20160317120654

Can someone help me resolve this problem? I have no clue what to do and how to uninstall and try to install again.

Thanks.
0
Comment
Question by:Refael
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:BigRat
ID: 41716389
Have you looked at/executed the install at issue 663 on Angular CLI?
https://github.com/angular/angular-cli/issues/633

There are various issues with "typings" which is applying strong typing to Javascript in TypeScript (where else?) and this directory contains the defaults. It's usually an ES5 ES6 problem.

http://conferences.oreilly.com/fluent/javascript-html-us/public/schedule/detail/46503
0
 

Accepted Solution

by:
Refael earned 0 total points
ID: 41716391
Hello BigRat :-)

Thank you.
I already resolved the issue by running
npm run postinstall

Open in new window

.
0
 
LVL 27

Expert Comment

by:BigRat
ID: 41716986
Good. Then please ask to close the question by accepting your last comment as the answer.
0
 

Author Closing Comment

by:Refael
ID: 41725739
The solution of this post.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
You have this traditional web application that refreshes the whole page each time you navigate and you think it's a good time to convert it to a Single-Page approach. What should you know in advance? Read on, I'll guide you through it.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question