Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

unable to run it on ubuntu 14.04 #45

Closed
iamkallolpratim opened this issue Mar 25, 2016 · 11 comments
Closed

unable to run it on ubuntu 14.04 #45

iamkallolpratim opened this issue Mar 25, 2016 · 11 comments
Labels

Comments

@iamkallolpratim
Copy link

error occurred on npm installing. Following warning message displayed
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.9

@Foxandxss
Copy link
Member

That library is OSX only. Who's pulling that?

@iamkallolpratim
Copy link
Author

can u please suggest me an ubuntu version?

@Foxandxss
Copy link
Member

The problem is that we are not using that library directly. One of our dependencies are.

@iamkallolpratim
Copy link
Author

So , how can I setup a angular 2 project in ubuntu 14.04. Please guide me

@Foxandxss
Copy link
Member

This seems to be an old issue with npm and doesn't seem to be resolved.

Leaving the warning aside, it should work.

Which node & npm do you have?

@iamkallolpratim
Copy link
Author

Node Version 5.9.0 and NPM version 3.8.3

@wbeyda
Copy link

wbeyda commented Mar 29, 2016

Had the same error I restarted the server and browser and it all of a sudden started working.

@iamkallolpratim
Copy link
Author

@wbeyda , explain me the process please

@wbeyda
Copy link

wbeyda commented Mar 30, 2016

@iamkallolpratim , closed the browser tab. Stopped nodejs ctrl+c, then restarted nodejs "npm start", and opened a new tab 127.0.0.1:3000. Browser opened with the " my first angular app" h1 or whatever it says. I went into main.ts and changed the message to "my second angular app" saved the file and went back to the browser. The browser was updated with "my second angular app" so I knew everything was working. Also make sure your nodejs package is sym linked correctly for Ubuntu.

sudo ln -s /usr/bin/nodejs /usr/bin/node

As far as I've read nodejs will always be broke on Ubuntu by default. I'd love to see it fixed by the next LTS release. But for now. It's what we have to do.

@wardbell
Copy link
Contributor

wardbell commented Apr 4, 2016

This issue is out of scope for this repo. Happy to consider a PR that fixes it if not too involved.

@iamkallolpratim
Copy link
Author

@wbeyda , u r an angel.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants