Title: Can't use `new` or `init` - Unexpected token ) · Issue #2878 · angular/angular-cli · GitHub
Open Graph Title: Can't use `new` or `init` - Unexpected token ) · Issue #2878 · angular/angular-cli
X Title: Can't use `new` or `init` - Unexpected token ) · Issue #2878 · angular/angular-cli
Description: OS? MacOS Sierra 10.12.1 Versions. angular-cli: 1.0.0-beta.18 node: 3.3.1 os: darwin x64 npm: 3.10.9 Repro steps. Tried to create new project with ng new my-app The log given by the failure. $ ng new a Unexpected token ) SyntaxError: Une...
Open Graph Description: OS? MacOS Sierra 10.12.1 Versions. angular-cli: 1.0.0-beta.18 node: 3.3.1 os: darwin x64 npm: 3.10.9 Repro steps. Tried to create new project with ng new my-app The log given by the failure. $ ng n...
X Description: OS? MacOS Sierra 10.12.1 Versions. angular-cli: 1.0.0-beta.18 node: 3.3.1 os: darwin x64 npm: 3.10.9 Repro steps. Tried to create new project with ng new my-app The log given by the failure. $ ng n...
Opengraph URL: https://github.com/angular/angular-cli/issues/2878
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't use `new` or `init` - Unexpected token )","articleBody":"### OS?\n\nMacOS Sierra 10.12.1\n### Versions.\n\n```\nangular-cli: 1.0.0-beta.18\nnode: 3.3.1\nos: darwin x64\n```\n\n```\nnpm: 3.10.9\n```\n### Repro steps.\n\nTried to create new project with `ng new my-app`\n### The log given by the failure.\n\n```\n$ ng new a\nUnexpected token )\nSyntaxError: Unexpected token )\n at exports.runInThisContext (vm.js:53:16)\n at Module._compile (module.js:413:25)\n at Object.Module._extensions..js (module.js:448:10)\n at Module.load (module.js:355:32)\n at Function.Module._load (module.js:310:12)\n at Module.require (module.js:365:17)\n at require (module.js:384:17)\n at Function.Blueprint.load (/usr/local/lib/node_modules/angular-cli/node_modules/angular-cli/lib/models/blueprint.js:1364:25)\n at Function.Blueprint.lookup (/usr/local/lib/node_modules/angular-cli/node_modules/angular-cli/lib/models/blueprint.js:1339:24)\n at Class.module.exports.Task.extend.run (/usr/local/lib/node_modules/angular-cli/node_modules/angular-cli/lib/tasks/install-blueprint.js:53:33)\n at Class.Command.extend.run (/usr/local/lib/node_modules/angular-cli/commands/init.js:105:33)\n at tryCatch (/usr/local/lib/node_modules/angular-cli/node_modules/rsvp/dist/lib/rsvp/-internal.js:215:12)\n at invokeCallback (/usr/local/lib/node_modules/angular-cli/node_modules/rsvp/dist/lib/rsvp/-internal.js:230:13)\n at publish (/usr/local/lib/node_modules/angular-cli/node_modules/rsvp/dist/lib/rsvp/-internal.js:198:7)\n at flush (/usr/local/lib/node_modules/angular-cli/node_modules/rsvp/dist/lib/rsvp/asap.js:85:5)\n at doNTCallback0 (node.js:407:9)\n at process._tickCallback (node.js:336:13)\n```\n","author":{"url":"https://github.com/AlmogBaku","@type":"Person","name":"AlmogBaku"},"datePublished":"2016-10-25T09:32:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2878/angular-cli/issues/2878"}
| 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:f7712ca1-b4da-1f69-010f-e8edf43f2ca2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B858:DF47A:B7F55E2:EE8EBC3:69768258 |
| html-safe-nonce | 4614862fd99d2ab55fffb38d67d485a20a6dcabe8b52f0dae142eddde3f8bc4e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODU4OkRGNDdBOkI3RjU1RTI6RUU4RUJDMzo2OTc2ODI1OCIsInZpc2l0b3JfaWQiOiI2ODg4OTAwMjU5MTc5MDM3MjcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9bb5068f12a59941aac2d966138582c7bb97e40cd68839d95228a8011bd956ca |
| hovercard-subject-tag | issue:185065317 |
| 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/2878/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b6ae8f29e015693b78ca6403707b3e9a98307b39958655b915bae5382f08ff4/angular/angular-cli/issues/2878 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b6ae8f29e015693b78ca6403707b3e9a98307b39958655b915bae5382f08ff4/angular/angular-cli/issues/2878 |
| og:image:alt | OS? MacOS Sierra 10.12.1 Versions. angular-cli: 1.0.0-beta.18 node: 3.3.1 os: darwin x64 npm: 3.10.9 Repro steps. Tried to create new project with ng new my-app The log given by the failure. $ ng n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlmogBaku |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| 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 | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width