Please provide us with the following information:
OS?
Linux (Ubuntu 15.10 --- 4.2.0-42-generic).
Versions.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.17
node: 6.3.1
os: linux x64Repro steps.
npm install -g angular-cli
ng new mi-nuevo-proyecto-angular2The log given by the failure.
Attached file log of install of AngularCLI(I tried with sudo without sudo)
npm-debug.pdfMention any other details that might be useful.
when I give in ng new, do not believe me complete files and folders(only 3 folder of 6)
Thanks! We'll be in touch soon.
This may seem like a silly question, but does it work when you run ng serve?
It looks like you already have all the folders you need. :)
Thanks for you response,
I am studying a book of angular2, and according to the book this is the folder structure(6 folder):

when run ng serve gives this result(bundle is now VALID)

+1
Your book is outdated. That is the old folder structure.
Yes, the book is outdated.
There have been some special config files merely for the use of SystemJS. Since the CLI now uses Webpack, those were gone, and so went the config folder. The few remaining configuration files live in the root (angular-cli.json, karma.conf.js, protractor.conf.js).
The public folder is now an assets property in angular-cli.json. It's an array of strings. Each string can match files that will copied to the output folder (dist by default) as-is (for example *.config files get copied to dist/{filename}.config). If the string matches a folder name (assets for example), the folder itself will be copied with the same name (for example to dist/assets).
The typings folder was for a tool that has the same name that loads TypeScript definition files for JavaScript libraries (the files that provide autocomplete for non-TypeScript libraries). Now in TypeScript 2, there's a new way to load those definitions, which is loading them as NPM packages under the name @types (similar to how Angular 2 packages are under @angular), which TypeScript understands and loads by itself without other tools.
The green output ending with no errors means it's working fine (warnings are OK, you might see them in production build output, another long story). For example, if you get that after ng serve, your site should be ready for you at http://localhost:4200.
OK, thanks.
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._
Most helpful comment
Your book is outdated. That is the old folder structure.