René's URL Explorer Experiment


Title: ng serve not working. · Issue #2844 · angular/angular-cli · GitHub

Open Graph Title: ng serve not working. · Issue #2844 · angular/angular-cli

X Title: ng serve not working. · Issue #2844 · angular/angular-cli

Description: Please provide us with the following information: OS? macOs Sierra Versions. Can't run ng --version. It's returning error. Repro steps. First ng new command was not working. The below error was there. Cannot find module 'reflect-metadata...

Open Graph Description: Please provide us with the following information: OS? macOs Sierra Versions. Can't run ng --version. It's returning error. Repro steps. First ng new command was not working. The below error was the...

X Description: Please provide us with the following information: OS? macOs Sierra Versions. Can't run ng --version. It's returning error. Repro steps. First ng new command was not working. The below error...

Opengraph URL: https://github.com/angular/angular-cli/issues/2844

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng serve not working.","articleBody":"\u003e ## Please provide us with the following information:\n### OS?\n\n\u003e macOs Sierra\n### Versions.\n\n\u003e Can't  run `ng --version`. It's returning error. \n### Repro steps.\n\nFirst ng new command was not working. The below error was there.\n\n\u003e Cannot find module 'reflect-metadata'.\n\u003e I then uninstalled angular-cli, Installed 'reflect-metadata' module \u0026 then had to install 'port-finder' module too, both globally. After this I cleared npm cache and re-installed 'angular-cli'. Now, 'ng new' command works. Bug ng serve doesn't work. It's again saying 'reflect-metadata' module is missing. \n### The log given by the failure.\n\n\u003e Error when ng serve is used\n\n`MacBook-Pro$ ng serve\nCannot find module 'reflect-metadata'\nError: Cannot find module 'reflect-metadata'\n    at Function.Module._resolveFilename (module.js:325:15)\n    at Function.Module._load (module.js:276:25)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/@ngtools/webpack/src/index.js:5:1)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/models/webpack-build-typescript.js:5:17)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/models/webpack-config.js:2:34)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/tasks/build-webpack.js:6:24)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/commands/build.js:3:23)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Class.module.exports.includedCommands (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/addon/index.js:21:16)\n    at /Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/models/project.js:392:61\n    at Array.forEach (native)\n    at Project.addonCommands (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/models/project.js:391:15)\n    at Project.eachAddonCommand (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/models/project.js:426:30)\n    at module.exports (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/cli/lookup-command.js:33:13)\n    at CLI.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/cli/cli.js:34:26)\n    at tryCatch (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:538:12)\n    at invokeCallback (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:553:13)\n    at publish (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:521:7)\n    at flush (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:2373:5)\n    at nextTickCallbackWith0Args (node.js:420:9)\n    at process._tickCallback (node.js:349:13)`\n\n\u003e Error when ng --version is used. I installed angular-cli today. Not able to get the version no. as command is not working. \n\n`MacBook-Pro:$ ng --version\nCannot find module 'reflect-metadata'\nError: Cannot find module 'reflect-metadata'\n    at Function.Module._resolveFilename (module.js:325:15)\n    at Function.Module._load (module.js:276:25)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/@ngtools/webpack/src/index.js:5:1)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/models/webpack-build-typescript.js:5:17)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/models/webpack-config.js:2:34)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/tasks/build-webpack.js:6:24)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Object.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/commands/build.js:3:23)\n    at Module._compile (module.js:409:26)\n    at Object.Module._extensions..js (module.js:416:10)\n    at Module.load (module.js:343:32)\n    at Function.Module._load (module.js:300:12)\n    at Module.require (module.js:353:17)\n    at require (internal/module.js:12:17)\n    at Class.module.exports.includedCommands (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/addon/index.js:21:16)\n    at /Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/models/project.js:392:61\n    at Array.forEach (native)\n    at Project.addonCommands (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/models/project.js:391:15)\n    at Project.eachAddonCommand (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/models/project.js:426:30)\n    at module.exports (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/cli/lookup-command.js:33:13)\n    at CLI.\u003canonymous\u003e (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/lib/cli/cli.js:34:26)\n    at tryCatch (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:538:12)\n    at invokeCallback (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:553:13)\n    at publish (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:521:7)\n    at flush (/Users/safwan/Code/www/angular/head/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:2373:5)\n    at nextTickCallbackWith0Args (node.js:420:9)\n    at process._tickCallback (node.js:349:13)`\n","author":{"url":"https://github.com/esafwan","@type":"Person","name":"esafwan"},"datePublished":"2016-10-23T18:31:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2844/angular-cli/issues/2844"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:51997531-8e64-3759-27b8-6a94ffada204
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id941E:30E8A:10121AE7:150B3635:697739D2
html-safe-noncedbd44b75fbad31e781eb0be021a742f1098d1ce86d58d5e61978be4ed0930850
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDFFOjMwRThBOjEwMTIxQUU3OjE1MEIzNjM1OjY5NzczOUQyIiwidmlzaXRvcl9pZCI6IjQ1MDgyMTgzOTgzMTUzMzAwMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccb87eee82d67bf9f0abf2fe375fbfa07c0bcfe796b3ca0236a436b1044445037
hovercard-subject-tagissue:184706218
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/2844/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bda2344bae698bbefab703a2265a3a4ef0fce4bd4224a478b3e3a4eb6c81d6c7/angular/angular-cli/issues/2844
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bda2344bae698bbefab703a2265a3a4ef0fce4bd4224a478b3e3a4eb6c81d6c7/angular/angular-cli/issues/2844
og:image:altPlease provide us with the following information: OS? macOs Sierra Versions. Can't run ng --version. It's returning error. Repro steps. First ng new command was not working. The below error was the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameesafwan
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/2844#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F2844
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F2844
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/2844
Reloadhttps://github.com/angular/angular-cli/issues/2844
Reloadhttps://github.com/angular/angular-cli/issues/2844
angular https://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Notifications https://github.com/login?return_to=%2Fangular%2Fangular-cli
Fork 11.9k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Star 27k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Code https://github.com/angular/angular-cli
Issues 265 https://github.com/angular/angular-cli/issues
Pull requests 25 https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security 1 https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
Code https://github.com/angular/angular-cli
Issues https://github.com/angular/angular-cli/issues
Pull requests https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/2844
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/2844
ng serve not working.https://github.com/angular/angular-cli/issues/2844#top
https://github.com/esafwan
https://github.com/esafwan
esafwanhttps://github.com/esafwan
on Oct 23, 2016https://github.com/angular/angular-cli/issues/2844#issue-184706218
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.