René's URL Explorer Experiment


Title: CLI can't find global packages or npm. Maybe wrong path config? · Issue #4599 · ionic-team/ionic-cli · GitHub

Open Graph Title: CLI can't find global packages or npm. Maybe wrong path config? · Issue #4599 · ionic-team/ionic-cli

X Title: CLI can't find global packages or npm. Maybe wrong path config? · Issue #4599 · ionic-team/ionic-cli

Description: Description: Hello there, I'm currently trying to set up my dev environment on macOS Catalina 15.15.7. My problem is that the ionic cli seems to ignore the paths of my angular cli. Everytime I try to execute the ionic serve command, the ...

Open Graph Description: Description: Hello there, I'm currently trying to set up my dev environment on macOS Catalina 15.15.7. My problem is that the ionic cli seems to ignore the paths of my angular cli. Everytime I try ...

X Description: Description: Hello there, I'm currently trying to set up my dev environment on macOS Catalina 15.15.7. My problem is that the ionic cli seems to ignore the paths of my angular cli. Everytime I ...

Opengraph URL: https://github.com/ionic-team/ionic-cli/issues/4599

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CLI can't find global packages or npm. Maybe wrong path config?","articleBody":"**Description:**\r\nHello there, \r\nI'm currently trying to set up my dev environment on macOS Catalina 15.15.7. My problem is that the ionic cli\r\nseems to ignore the paths of my angular cli. \r\nEverytime I try to execute the `ionic serve` command, the cli wants me to install the angular cli because it can't find the ng command. When I try to install it it throws an exception as it can't find the `npm` command also.\r\n\r\n\r\n**Steps to Reproduce:**\r\n1. Install the latest version of nvm via the zsh on macOS\r\n2. Install node version 14.15.0 (latest LTS)\r\n3. Validate the node installation\r\n4. Install @angular/cli via npm globally `npm install -g @angular/cli`\r\n5. Validate @angular/cli using `ng --version` - Version 10.1.7\r\n6. Install @ionic/cli via npm globally `npm install -g @ionic/cli`\r\n7. Validate @ionic/cli using `ionic --version` - Version 6.12.1\r\n8. Navigate to Ionic workspace root\r\n9. Install all dependencies using `npm install -r`\r\n10. Start Ionic/Angular dev server using `ionic serve --project=\u003cproject-name>`\r\n11. Ionic wants me to install the angular cli as it cannot find the `ng` command\r\n12. When I try to install it, Ionic is also unable to find the `npm` command\r\n13. ¯\\\\_(ツ)_/¯\r\n\r\n\r\n**My `ionic info`:**\r\n```\r\nIonic:\r\n\r\n   Ionic CLI                     : 6.12.1 (/Users/psn_local/.nvm/versions/node/v14.15.0/lib/node_modules/@ionic/cli)\r\n   Ionic Framework               : @ionic/angular 5.4.1 (/Users/psn_local/development/git/project-api/Clients/node_modules/@ionic/angular)\r\n   @angular-devkit/build-angular : 0.1001.7 (/Users/psn_local/development/git/project-api/Clients/node_modules/@angular-devkit/build-angular)\r\n   @angular-devkit/schematics    : 10.1.7 (/Users/psn_local/development/git/project-api/Clients/node_modules/@angular-devkit/schematics)\r\n   @angular/cli                  : 10.1.7 (/Users/psn_local/development/git/project-api/Clients/node_modules/@angular/cli)\r\n   @ionic/angular-toolkit        : 2.3.3 (/Users/psn_local/development/git/project-api/Clients/node_modules/@ionic/angular-toolkit)\r\n\r\nUtility:\r\n\r\n   cordova-res : not installed\r\n   native-run  : not installed\r\n\r\nSystem:\r\n\r\n   NodeJS : v14.15.0 (/Users/psn_local/.nvm/versions/node/v14.15.0/bin/node)\r\n   npm    : 6.14.8\r\n   OS     : macOS Catalina\r\n```\r\n\r\n\r\n**Other Information:**\r\n*Things I already tried*\r\n1. Installation as another user\r\n2. Installation of Node via the installer from the official website\r\n3. Installation of Node via Homebrew\r\n4. Installation of Node via nvm\r\n5. Using of pnpm for global and local packages (with updated configs of ionic and ng)\r\n6. Setting an alias for the ng command like [here](https://github.com/angular/angular-cli/issues/503#issuecomment-213455646)\r\n7. Manually adding PATHS to the .zshrc file of the user\r\n","author":{"url":"https://github.com/PhilippSonntagORGADATA","@type":"Person","name":"PhilippSonntagORGADATA"},"datePublished":"2020-10-30T09:08:40Z","url":"https://github.com/ionic-team/ionic-cli/issues/4599"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:60d2158d-1d64-5583-e3f4-6e19d9d6f26d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBB54:321110:444A1C:605434:6B047070
html-safe-nonce975637ffc320e0c0308afea3f6a6a62eb5c3118478a2ee8732e585daff9ab135
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjU0OjMyMTExMDo0NDRBMUM6NjA1NDM0OjZCMDQ3MDcwIiwidmlzaXRvcl9pZCI6IjMyMzAyNTg2MTg5NDc2MjkxNjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1ddd935b1126921318db06bb0ff2a4569f83b29b729e653d1ae3d9c3a91fbd06
hovercard-subject-tagissue:733006634
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/ionic-team/ionic-cli/4599/issue_layout
twitter:imagehttps://opengraph.githubassets.com/68f9a31e99685284b62190f7b63b42500eba7b506f8d8091b343f100036c1dbe/ionic-team/ionic-cli/issues/4599
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/68f9a31e99685284b62190f7b63b42500eba7b506f8d8091b343f100036c1dbe/ionic-team/ionic-cli/issues/4599
og:image:altDescription: Hello there, I'm currently trying to set up my dev environment on macOS Catalina 15.15.7. My problem is that the ionic cli seems to ignore the paths of my angular cli. Everytime I try ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePhilippSonntagORGADATA
hostnamegithub.com
expected-hostnamegithub.com
Noneae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f
turbo-cache-controlno-preview
go-importgithub.com/ionic-team/ionic-cli git https://github.com/ionic-team/ionic-cli.git
octolytics-dimension-user_id3171503
octolytics-dimension-user_loginionic-team
octolytics-dimension-repository_id14562056
octolytics-dimension-repository_nwoionic-team/ionic-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14562056
octolytics-dimension-repository_network_root_nwoionic-team/ionic-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
releasecfb5f24c6e01d85f70804652a5107e5cac03a161
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/ionic-team/ionic-cli/issues/4599#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fionic-team%2Fionic-cli%2Fissues%2F4599
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fionic-team%2Fionic-cli%2Fissues%2F4599
Sign uphttps://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=ionic-team%2Fionic-cli
Reloadhttps://github.com/ionic-team/ionic-cli/issues/4599
Reloadhttps://github.com/ionic-team/ionic-cli/issues/4599
Reloadhttps://github.com/ionic-team/ionic-cli/issues/4599
ionic-teamhttps://github.com/ionic-team
ionic-clihttps://github.com/ionic-team/ionic-cli
Codehttps://github.com/ionic-team/ionic-cli
Issues344 (344)https://github.com/ionic-team/ionic-cli/issues
Pull requests23 (23)https://github.com/ionic-team/ionic-cli/pulls
Actionshttps://github.com/ionic-team/ionic-cli/actions
Wikihttps://github.com/ionic-team/ionic-cli/wiki
Security and qualityhttps://github.com/ionic-team/ionic-cli/security
Insightshttps://github.com/ionic-team/ionic-cli/insights
https://github.com/ionic-team/ionic-cli
New issuehttps://github.com/login?return_to=https://github.com/ionic-team/ionic-cli/issues/4599
New issuehttps://github.com/login?return_to=https://github.com/ionic-team/ionic-cli/issues/4599
#4608https://github.com/ionic-team/ionic-cli/pull/4608
CLI can't find global packages or npm. Maybe wrong path config?https://github.com/ionic-team/ionic-cli/issues/4599#top
#4608https://github.com/ionic-team/ionic-cli/pull/4608
triagehttps://github.com/ionic-team/ionic-cli/issues?q=state%3Aopen%20label%3A%22triage%22
https://github.com/PhilippSonntagORGADATA
PhilippSonntagORGADATAhttps://github.com/PhilippSonntagORGADATA
on Oct 30, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issue-733006634
herehttps://github.com/angular/angular-cli/issues/503#issuecomment-213455646
ionitron-bothttps://github.com/apps/ionitron-bot
triagehttps://github.com/ionic-team/ionic-cli/issues?q=state%3Aopen%20label%3A%22triage%22
on Oct 30, 2020https://github.com/ionic-team/ionic-cli/issues/4599#event-3940232293
PhilippSonntagORGADATAhttps://github.com/PhilippSonntagORGADATA
on Oct 30, 2020https://github.com/ionic-team/ionic-cli/issues/4599#event-3940236424
https://github.com/PhilippSonntagORGADATA
PhilippSonntagORGADATAhttps://github.com/PhilippSonntagORGADATA
on Nov 13, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issuecomment-726702871
https://github.com/sonntag-philipp
sonntag-philipphttps://github.com/sonntag-philipp
on Nov 13, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issuecomment-726846502
imhoffdhttps://github.com/imhoffd
Validation of project and integration root directories. #4608https://github.com/ionic-team/ionic-cli/pull/4608
on Nov 13, 2020https://github.com/ionic-team/ionic-cli/issues/4599#event-3994761489
https://github.com/imhoffd
imhoffdhttps://github.com/imhoffd
on Nov 13, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issuecomment-726937616
https://github.com/sonntag-philipp
sonntag-philipphttps://github.com/sonntag-philipp
on Nov 13, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issuecomment-726945550
https://github.com/imhoffd
imhoffdhttps://github.com/imhoffd
on Nov 13, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issuecomment-726953555
https://github.com/sonntag-philipp
sonntag-philipphttps://github.com/sonntag-philipp
on Nov 13, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issuecomment-726960187
https://github.com/imhoffd
imhoffdhttps://github.com/imhoffd
on Nov 13, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issuecomment-726999239
https://github.com/ionic-team/ionic-cli/blob/develop/packages/@ionic/cli/src/lib/serve.ts#L192https://github.com/ionic-team/ionic-cli/blob/develop/packages/@ionic/cli/src/lib/serve.ts#L192
https://github.com/ionic-team/ionic-cli/blob/develop/packages/@ionic/cli/src/lib/build.ts#L99https://github.com/ionic-team/ionic-cli/blob/develop/packages/@ionic/cli/src/lib/build.ts#L99
https://github.com/ionic-team/ionic-cli/blob/develop/packages/@ionic/cli/src/lib/generate.ts#L24https://github.com/ionic-team/ionic-cli/blob/develop/packages/@ionic/cli/src/lib/generate.ts#L24
https://github.com/sonntag-philipp
sonntag-philipphttps://github.com/sonntag-philipp
on Nov 21, 2020https://github.com/ionic-team/ionic-cli/issues/4599#issuecomment-731627270
https://user-images.githubusercontent.com/31292378/99886095-10696500-2c3a-11eb-8570-b0083d80361b.png
Sign up for freehttps://github.com/signup?return_to=https://github.com/ionic-team/ionic-cli/issues/4599
Sign in to commenthttps://github.com/login?return_to=https://github.com/ionic-team/ionic-cli/issues/4599
triagehttps://github.com/ionic-team/ionic-cli/issues?q=state%3Aopen%20label%3A%22triage%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.