René's URL Explorer Experiment


Title: Global variables not defined in CLI 8.8 · Issue #5813 · NativeScript/nativescript-cli · GitHub

Open Graph Title: Global variables not defined in CLI 8.8 · Issue #5813 · NativeScript/nativescript-cli

X Title: Global variables not defined in CLI 8.8 · Issue #5813 · NativeScript/nativescript-cli

Description: Issue Description After bumping packages, I found that some packages/plugins only work when I uninstall ns cli globally and install "nativescript": "8.7.2" (downgrade from cli 8.8). Reproduction https://github.com/asharghi/print-star-dem...

Open Graph Description: Issue Description After bumping packages, I found that some packages/plugins only work when I uninstall ns cli globally and install "nativescript": "8.7.2" (downgrade from cli 8.8). Reproduction ht...

X Description: Issue Description After bumping packages, I found that some packages/plugins only work when I uninstall ns cli globally and install "nativescript": "8.7.2" (downgrade from cli 8...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/5813

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Global variables not defined in CLI 8.8","articleBody":"### Issue Description\r\n\r\nAfter bumping packages, I found that some packages/plugins only work when I uninstall ns cli globally and install \"nativescript\": \"8.7.2\" (downgrade from cli 8.8). \r\n\r\n### Reproduction\r\n\r\nhttps://github.com/asharghi/print-star-demo\r\n\r\n1. Clone and run with 'ns run iOS' with CLI 8.8\r\n2. Tap on \"Test\" button and see \"Error\" in the console log. ReferenceError: MTPrinterStar is not defined\r\n3. Uninstall CLI 8.8 and install CLI 8.7.2\r\n4. Run 'ns clean \u0026\u0026 ns run ios'\r\n5. Tap on \"Test\" button again and see \"Success\" in the console log\r\n\r\n### Relevant log output (if applicable)\r\n\r\n_No response_\r\n\r\n### Environment\r\n\r\n```yaml\r\nOS: macOS 14.6.1\r\nCPU: (10) arm64 Apple M1 Max\r\nShell: /bin/zsh\r\nnode: 18.18.1\r\nnpm: 9.8.1\r\nnativescript: Not Found\r\n\r\n# android\r\njava: 17.0.11\r\nndk: Not Found\r\napis: Not Found\r\nbuild_tools: Not Found\r\nsystem_images: Not Found\r\n\r\n# ios\r\nxcode: 15.3/15E204a\r\ncocoapods: 1.15.2\r\npython: 2.7.18\r\npython3: 3.12.4\r\nruby: 2.7.8\r\nplatforms: \r\n  - DriverKit 23.4\r\n  - iOS 17.4\r\n  - macOS 14.4\r\n  - tvOS 17.4\r\n  - visionOS 1.1\r\n  - watchOS 10.4\r\n```\r\n\r\n### Dependencies\r\n\r\n```json\r\n\"dependencies\": {\r\n  \"@nativescript-community/perms\": \"^2.3.3\",\r\n  \"@nativescript/core\": \"~8.8.0\",\r\n  \"@nativescript/theme\": \"^3.1.0\",\r\n  \"nativescript\": \"8.7.2\",\r\n  \"nativescript-permissions\": \"^1.3.12\",\r\n  \"nativescript-print-star\": \"file:local_modules/nativescript-print-star-latest.tgz\",\r\n  \"nativescript-vue\": \"~2.9.3\"\r\n},\r\n\"devDependencies\": {\r\n  \"@nativescript/ios\": \"8.8.1\",\r\n  \"@nativescript/types\": \"~8.8.0\",\r\n  \"@nativescript/webpack\": \"~5.0.0\",\r\n  \"@types/node\": \"~17.0.21\",\r\n  \"nativescript-vue-template-compiler\": \"~2.9.3\",\r\n  \"typescript\": \"~5.4.0\",\r\n  \"vue\": \"~2.6.12\"\r\n}\r\n```\r\n\r\n### Please accept these terms\r\n\r\n- [X] I have searched the [existing issues](https://github.com/NativeScript/nativescript-cli/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\r\n- [X] This is a bug report\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/asharghi","@type":"Person","name":"asharghi"},"datePublished":"2024-08-28T10:45:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5813/nativescript-cli/issues/5813"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:011f4671-b242-9dfd-7a39-7ae01291f4bd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB234:365318:2EC05F:3F35E2:696E7128
html-safe-nonceacfd3eaa0c83aa3fa635886f17f889146c56663860f31c362588389afe11cb3e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjM0OjM2NTMxODoyRUMwNUY6M0YzNUUyOjY5NkU3MTI4IiwidmlzaXRvcl9pZCI6IjYyMTk3NTEwNTQ2MTA2OTAzNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace740323ae831d0cbbce80760781087a993a6e2b971d4da171655ec5cee80dc83
hovercard-subject-tagissue:2491730295
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/NativeScript/nativescript-cli/5813/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0cba87648c3ad438739436c3a4e9b5b021f5c9100a529baf4c0748003b3bbefa/NativeScript/nativescript-cli/issues/5813
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0cba87648c3ad438739436c3a4e9b5b021f5c9100a529baf4c0748003b3bbefa/NativeScript/nativescript-cli/issues/5813
og:image:altIssue Description After bumping packages, I found that some packages/plugins only work when I uninstall ns cli globally and install "nativescript": "8.7.2" (downgrade from cli 8.8). Reproduction ht...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameasharghi
hostnamegithub.com
expected-hostnamegithub.com
None01185010a96388a2a8cd8bd7f5824fdf090522b219f9aecf8c7ff1857aeb489b
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-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
release673a80c1bce2a1e6a48b530ce2b72bf8fd253386
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues/5813#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F5813
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F5813
Sign up https://patch-diff.githubusercontent.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=NativeScript%2Fnativescript-cli
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues/5813
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues/5813
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues/5813
NativeScript https://patch-diff.githubusercontent.com/NativeScript
nativescript-clihttps://patch-diff.githubusercontent.com/NativeScript/nativescript-cli
Please reload this pagehttps://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues/5813
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Fork 198 https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Star 1k https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Code https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli
Issues 361 https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues
Pull requests 13 https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/pulls
Actions https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/actions
Projects 0 https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/security
Please reload this pagehttps://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues/5813
Insights https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/pulse
Code https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli
Issues https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues
Pull requests https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/pulls
Actions https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/actions
Projects https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/projects
Security https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/security
Insights https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/5813
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/5813
Global variables not defined in CLI 8.8https://patch-diff.githubusercontent.com/NativeScript/nativescript-cli/issues/5813#top
questionhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com/asharghi
https://github.com/asharghi
asharghihttps://github.com/asharghi
on Aug 28, 2024https://github.com/NativeScript/nativescript-cli/issues/5813#issue-2491730295
https://github.com/asharghi/print-star-demohttps://github.com/asharghi/print-star-demo
existing issueshttps://github.com/NativeScript/nativescript-cli/issues
StackOverflowhttps://stackoverflow.com/questions/tagged/nativescript
Code of Conducthttps://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc
questionhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22question%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

Viewport: width=device-width


URLs of crawlers that visited me.