The Broccoli Plugin failed

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.
RefaelAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
RefaelConnect With a Mentor Author Commented:
Hello BigRat :-)

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

Open in new window

.
0
 
BigRatCommented:
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
 
BigRatCommented:
Good. Then please ask to close the question by accepting your last comment as the answer.
0
 
RefaelAuthor Commented:
The solution of this post.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.