Title: Component generation on module: Illegal operation on a directory, read · Issue #5827 · angular/angular-cli · GitHub
Open Graph Title: Component generation on module: Illegal operation on a directory, read · Issue #5827 · angular/angular-cli
X Title: Component generation on module: Illegal operation on a directory, read · Issue #5827 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [x] bug report Versions. @angular/cli: 1.0.0 node: 6.10.0 os: darwin x64 @angular/common: 4.0.1 @angular/compiler: 4.0.1 @angular/core: 4.0.1 @angular/forms: 4.0.1 @angular/http: 4.0.1 @an...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report Versions. @angular/cli: 1.0.0 node: 6.10.0 os: darwin x64 @angular/common: 4.0.1 @angular/compiler: 4.0.1 @angular/core: 4.0.1 @angul...
X Description: Bug Report or Feature Request (mark with an x) - [x] bug report Versions. @angular/cli: 1.0.0 node: 6.10.0 os: darwin x64 @angular/common: 4.0.1 @angular/compiler: 4.0.1 @angular/core: 4.0.1 @angul...
Opengraph URL: https://github.com/angular/angular-cli/issues/5827
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Component generation on module: Illegal operation on a directory, read","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report\r\n```\r\n\r\n### Versions.\r\n@angular/cli: 1.0.0\r\nnode: 6.10.0\r\nos: darwin x64\r\n@angular/common: 4.0.1\r\n@angular/compiler: 4.0.1\r\n@angular/core: 4.0.1\r\n@angular/forms: 4.0.1\r\n@angular/http: 4.0.1\r\n@angular/platform-browser: 4.0.1\r\n@angular/platform-browser-dynamic: 4.0.1\r\n@angular/router: 4.0.1\r\n@angular/cli: 1.0.0\r\n@angular/compiler-cli: 4.0.1\r\n\r\nMACOS Sierra\r\n\r\n### The log given by the failure.\r\n```\r\nAlban-MacBook-Pro:frontend-ng alban$ ng g c -m search search/search-form\r\ninstalling component\r\n create src/app/search/search-form/search-form.component.scss\r\n create src/app/search/search-form/search-form.component.html\r\n create src/app/search/search-form/search-form.component.spec.ts\r\n create src/app/search/search-form/search-form.component.ts\r\nEISDIR: illegal operation on a directory, read\r\nError: EISDIR: illegal operation on a directory, read\r\n at Error (native)\r\n at Object.fs.readSync (fs.js:731:19)\r\n at tryReadSync (fs.js:486:20)\r\n at Object.fs.readFileSync (fs.js:534:19)\r\n at Class.afterInstall (/Users/alban/projects/daft-touch/frontend-ng/node_modules/@angular/cli/blueprints/component/index.js:209:34)\r\n at tryCatch (/Users/alban/projects/daft-touch/frontend-ng/node_modules/rsvp/dist/rsvp.js:539:12)\r\n at invokeCallback (/Users/alban/projects/daft-touch/frontend-ng/node_modules/rsvp/dist/rsvp.js:554:13)\r\n at publish (/Users/alban/projects/touch/frontend-ng/node_modules/rsvp/dist/rsvp.js:522:7)\r\n at flush (/Users/alban/projects/touch/frontend-ng/node_modules/rsvp/dist/rsvp.js:2414:5)\r\n at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n```\r\n\r\n\r\n### Repro steps.\r\n- Create an simple app\r\n- Create a new module\r\n- Add a component to the app with the command `ng g c -m new_module new_module/new_component`\r\n\r\nAlthough the generation worked correctly","author":{"url":"https://github.com/albandaft","@type":"Person","name":"albandaft"},"datePublished":"2017-04-04T13:33:53Z","url":"https://github.com/angular/angular-cli/issues/5827"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3c040826-a7ba-6ff5-57ac-43ab5eb75ee3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8BC:1D86C4:4122605:52AA5BE:6B022006 |
| html-safe-nonce | 4d749473cc16acb80cefdbf47d3afbd4b68efe8836f761f5f17ee504074e803d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEJDOjFEODZDNDo0MTIyNjA1OjUyQUE1QkU6NkIwMjIwMDYiLCJ2aXNpdG9yX2lkIjoiNjgxMjg3MjcxNTIyNjE5MzkyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8ee6def62e5822c58f6bd7aa8364102da863a9f9b311a89bdbc04d605bace73f |
| hovercard-subject-tag | issue:219252105 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/5827/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c612769c1801871eb9ff9df1553b089988ed69d19e90f899fb4124bab8d1312/angular/angular-cli/issues/5827 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c612769c1801871eb9ff9df1553b089988ed69d19e90f899fb4124bab8d1312/angular/angular-cli/issues/5827 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report Versions. @angular/cli: 1.0.0 node: 6.10.0 os: darwin x64 @angular/common: 4.0.1 @angular/compiler: 4.0.1 @angular/core: 4.0.1 @angul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | albandaft |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width