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

SE Linux question

Open 9034725985 opened this issue 8 years ago • 2 comments

What's going on?

➜  test docker run -it --rm -w /app -v $(pwd):/app alexsuch/angular-cli:1.6.6-chromium ng new happy-cows     
Unable to find image 'alexsuch/angular-cli:1.6.6-chromium' locally
Trying to pull repository docker.io/alexsuch/angular-cli ... 
sha256:fd6e033e2d48436971546656ce08152db8592404c26e4b9907a37a9555cf2d2b: Pulling from docker.io/alexsuch/angular-cli
1d48052caa4a: Pull complete 
2464452ce8df: Pull complete 
6d4d8afa808b: Pull complete 
6cfb4d159171: Pull complete 
818e0a061446: Pull complete 
Digest: sha256:fd6e033e2d48436971546656ce08152db8592404c26e4b9907a37a9555cf2d2b
Status: Downloaded newer image for docker.io/alexsuch/angular-cli:1.6.6-chromium
  create happy-cows/README.md (1025 bytes)
  create happy-cows/.angular-cli.json (1245 bytes)
  create happy-cows/.editorconfig (245 bytes)
  create happy-cows/.gitignore (529 bytes)
  create happy-cows/src/assets/.gitkeep (0 bytes)
  create happy-cows/src/environments/environment.prod.ts (51 bytes)
  create happy-cows/src/environments/environment.ts (387 bytes)
  create happy-cows/src/favicon.ico (5430 bytes)
  create happy-cows/src/index.html (296 bytes)
  create happy-cows/src/main.ts (370 bytes)
  create happy-cows/src/polyfills.ts (2405 bytes)
  create happy-cows/src/styles.css (80 bytes)
  create happy-cows/src/test.ts (642 bytes)
  create happy-cows/src/tsconfig.app.json (211 bytes)
  create happy-cows/src/tsconfig.spec.json (283 bytes)
  create happy-cows/src/typings.d.ts (104 bytes)
  create happy-cows/e2e/app.e2e-spec.ts (292 bytes)
  create happy-cows/e2e/app.po.ts (208 bytes)
  create happy-cows/e2e/tsconfig.e2e.json (235 bytes)
  create happy-cows/karma.conf.js (923 bytes)
  create happy-cows/package.json (1294 bytes)
  create happy-cows/protractor.conf.js (722 bytes)
  create happy-cows/tsconfig.json (363 bytes)
  create happy-cows/tslint.json (3012 bytes)
  create happy-cows/src/app/app.module.ts (316 bytes)
  create happy-cows/src/app/app.component.css (0 bytes)
  create happy-cows/src/app/app.component.html (1141 bytes)
  create happy-cows/src/app/app.component.spec.ts (986 bytes)
  create happy-cows/src/app/app.component.ts (207 bytes)
Error: EACCES: permission denied, mkdir '/app/happy-cows'
EACCES: permission denied, mkdir '/app/happy-cows'

9034725985 avatar Feb 08 '18 01:02 9034725985

I had no problem doing that. Can you try doing a chmod a+rw on the root directory you are working on?

Here's my trace:

$ docker run -it --rm -w /app -v $(pwd):/app alexsuch/angular-cli:1.6.6-chromium ng new happy-cows
Unable to find image 'alexsuch/angular-cli:1.6.6-chromium' locally
1.6.6-chromium: Pulling from alexsuch/angular-cli
1d48052caa4a: Pull complete 
2464452ce8df: Pull complete 
6d4d8afa808b: Pull complete 
6cfb4d159171: Pull complete 
818e0a061446: Pull complete 
Digest: sha256:fd6e033e2d48436971546656ce08152db8592404c26e4b9907a37a9555cf2d2b
Status: Downloaded newer image for alexsuch/angular-cli:1.6.6-chromium
  create happy-cows/README.md (1025 bytes)
  create happy-cows/.angular-cli.json (1245 bytes)
  create happy-cows/.editorconfig (245 bytes)
  create happy-cows/.gitignore (529 bytes)
  create happy-cows/src/assets/.gitkeep (0 bytes)
  create happy-cows/src/environments/environment.prod.ts (51 bytes)
  create happy-cows/src/environments/environment.ts (387 bytes)
  create happy-cows/src/favicon.ico (5430 bytes)
  create happy-cows/src/index.html (296 bytes)
  create happy-cows/src/main.ts (370 bytes)
  create happy-cows/src/polyfills.ts (2405 bytes)
  create happy-cows/src/styles.css (80 bytes)
  create happy-cows/src/test.ts (642 bytes)
  create happy-cows/src/tsconfig.app.json (211 bytes)
  create happy-cows/src/tsconfig.spec.json (283 bytes)
  create happy-cows/src/typings.d.ts (104 bytes)
  create happy-cows/e2e/app.e2e-spec.ts (292 bytes)
  create happy-cows/e2e/app.po.ts (208 bytes)
  create happy-cows/e2e/tsconfig.e2e.json (235 bytes)
  create happy-cows/karma.conf.js (923 bytes)
  create happy-cows/package.json (1294 bytes)
  create happy-cows/protractor.conf.js (722 bytes)
  create happy-cows/tsconfig.json (363 bytes)
  create happy-cows/tslint.json (3012 bytes)
  create happy-cows/src/app/app.module.ts (316 bytes)
  create happy-cows/src/app/app.component.css (0 bytes)
  create happy-cows/src/app/app.component.html (1141 bytes)
  create happy-cows/src/app/app.component.spec.ts (986 bytes)
  create happy-cows/src/app/app.component.ts (207 bytes)
Installing packages for tooling via yarn.
yarn install v0.27.5
info No lockfile found.
[1/4] Resolving packages...
warning karma > log4js > [email protected]: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
warning karma > log4js > loggly > request > [email protected]: Use uuid module instead
[2/4] Fetching packages...
warning [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.3.2" while you're on "0.27.5".
Done in 304.85s.
Installed packages for tooling via yarn.
Project 'happy-cows' successfully created.

alejandroSuch avatar Feb 20 '18 10:02 alejandroSuch

@9034725985 did it work? should I close this issue?

alejandroSuch avatar Mar 28 '18 11:03 alejandroSuch