Package Details: angular-cli 14.2.1-1

Git Clone URL: https://aur.archlinux.org/angular-cli.git (read-only, click to copy)
Package Base: angular-cli
Description: CLI tool for Angular
Upstream URL: https://github.com/angular/angular-cli
Keywords: angular angular-cli cli
Licenses: MIT
Submitter: MazeChaZer
Maintainer: GFdevelop
Last Packager: GFdevelop
Votes: 28
Popularity: 0.147131
First Submitted: 2016-12-22 12:58 (UTC)
Last Updated: 2022-09-05 06:56 (UTC)

Dependencies (1)

Required by (2)

Sources (1)

Latest Comments

1 2 3 Next › Last »

mcw commented on 2021-03-27 12:41 (UTC)

Everything's golden (in regards to the conflicts).

Thank you!

GFdevelop commented on 2021-03-27 11:30 (UTC)

I'm sorry for the issues, now work again, can you confirm?

mcw commented on 2021-03-24 12:01 (UTC)

The updates to the semver package remove conflict and render this package installable again.

I assume the same changes should be made to this package to prevent this from happening in the future.

totemfallico commented on 2021-03-24 09:37 (UTC)

If you updated but you can't run ng serve, just use npm start as a temporary workaround of the "Unknown error: TypeError: Cannot read property 'split' of undefined" error.

gdamjan commented on 2021-03-23 21:33 (UTC)

The issue with the conflict on the "root" node module is because, npm obviously removed the --user root option, and now it installs the root package.

I bet the semver package has the same issue… https://github.com/archlinux/svntogit-community/commit/26043d7e6b3646877236f9965f9ab06dcc9513bc

indeed

mcw commented on 2021-03-23 12:11 (UTC) (edited on 2021-03-23 12:11 (UTC) by mcw)

The latest version of this package is not installable. It conflicts with the package semver, which is needed by npm, which is needed to install the package.

(1/1) checking for file conflicts                                                          [##################################################] 100%
error: failed to commit transaction (conflicting files)
angular-cli: /usr/lib/node_modules/root/.travis.yml exists in filesystem     (owned by semver)
angular-cli: /usr/lib/node_modules/root/LICENSE exists in filesystem (owned by semver)
angular-cli: /usr/lib/node_modules/root/README.md exists in filesystem (owned by semver)
angular-cli: /usr/lib/node_modules/root/defaults.js exists in filesystem     (owned by semver)
angular-cli: /usr/lib/node_modules/root/index.js exists in filesystem (owned by semver)
.etc.....

GFdevelop commented on 2021-03-22 11:25 (UTC)

@freed00m you are right, I'm searching for this...

freed00m commented on 2021-03-21 17:18 (UTC)

I have trouble running it, some missing dependencies?

% ng new
Unknown error: TypeError: Cannot read property 'split' of undefined

GFdevelop commented on 2020-12-10 19:02 (UTC)

I am happy that you have solved your problem...thanks to having share your debug info with the community, can be usefull.

hsantanna commented on 2020-12-10 18:46 (UTC)

@GFdevelop thanks for replying.

I'm using zsh, but since you mentioned I tested with bash too. I'm using picaur as aur helper, so tested with manually download and build, getting the same error, no matter what.

So I payed more attention to the error message and realized that somewhere in my PATH there was an :: (doubled colons). There was something wrong in my ~/.pam_environment and correcting that solved the problem.

Thank you.