angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

ng build error 0.0.29 ENOENT: no such file or directory, lstat 'public'

Open guillaumeleone opened this issue 10 years ago • 5 comments

Hi team,

Info:

$ node --version
v5.0.0
$ npm --version
3.3.6

We have an error with the new version of angular-cli.

/workspace
└── [email protected] 

Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
BuildingBuild failed.
The Broccoli Plugin: [Funnel] failed with:
Error: ENOENT: no such file or directory, lstat 'public'

I (re)try with [email protected] it works.

Do you have any idea ?

guillaumeleone avatar Apr 01 '16 12:04 guillaumeleone

Hi @guillaumeleone try to run " ng init " in your project ... by answering "no" to "Overwrite" of the files of your "src" project

anode7 avatar Apr 01 '16 16:04 anode7

Why create the folder "/public" in [email protected]?

anode7 avatar Apr 01 '16 18:04 anode7

ok #380

anode7 avatar Apr 02 '16 12:04 anode7

Fixed as of PR #380

hansl avatar Apr 05 '16 22:04 hansl

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.