René's URL Explorer Experiment


Title: tns test does not work with mocha 1.3+ · Issue #2212 · NativeScript/nativescript-cli · GitHub

Open Graph Title: tns test does not work with mocha 1.3+ · Issue #2212 · NativeScript/nativescript-cli

X Title: tns test does not work with mocha 1.3+ · Issue #2212 · NativeScript/nativescript-cli

Description: tns create TestApp && cd TestApp tns test init --framework mocha tns test android Result: module.js:471 throw err; ^ Error: Cannot find module 'mocha' at Function.Module._resolveFilename (module.js:469:15) at Function.resolve (internal/m...

Open Graph Description: tns create TestApp && cd TestApp tns test init --framework mocha tns test android Result: module.js:471 throw err; ^ Error: Cannot find module 'mocha' at Function.Module._resolveFilename (module.js...

X Description: tns create TestApp && cd TestApp tns test init --framework mocha tns test android Result: module.js:471 throw err; ^ Error: Cannot find module 'mocha' at Function.Module._resolveFil...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tns test does not work with mocha 1.3+","articleBody":"tns create TestApp && cd TestApp\r\ntns test init --framework mocha\r\ntns test android\r\n\r\nResult:\r\n```\r\nmodule.js:471\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'mocha'\r\n    at Function.Module._resolveFilename (module.js:469:15)\r\n    at Function.resolve (internal/module.js:27:19)\r\n    at initMocha (/Users/topuzov/Git/nativescript-cli-tests/TNS_App/node_modules/karma-mocha/lib/index.js:10:40)\r\n    at Array.invoke (/Users/topuzov/Git/nativescript-cli-tests/TNS_App/node_modules/karma/node_modules/di/lib/injector.js:75:15)\r\n    at Injector.get (/Users/topuzov/Git/nativescript-cli-tests/TNS_App/node_modules/karma/node_modules/di/lib/injector.js:48:43)\r\n    at /Users/topuzov/Git/nativescript-cli-tests/TNS_App/node_modules/karma/lib/server.js:143:20\r\n    at Array.forEach (native)\r\n    at Server._start (/Users/topuzov/Git/nativescript-cli-tests/TNS_App/node_modules/karma/lib/server.js:142:21)\r\n    at Injector.invoke (/Users/topuzov/Git/nativescript-cli-tests/TNS_App/node_modules/karma/node_modules/di/lib/injector.js:75:15)\r\n    at Server.start (/Users/topuzov/Git/nativescript-cli-tests/TNS_App/node_modules/karma/lib/server.js:103:18)\r\n    at process.\u003canonymous> (/Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/services/karma-execution.js:8:15)\r\n    at emitTwo (events.js:106:13)\r\n    at process.emit (events.js:191:7)\r\n    at process.nextTick (internal/child_process.js:744:12)\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickCallback (internal/process/next_tick.js:98:9)\r\nError: Test run failed.\r\n    at FiberFuture.wait (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:566:15)\r\n    at /Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/common/errors.js:128:33\r\n    at Function.settle (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.wait (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:565:10)\r\n    at /Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/common/services/commands-service.js:84:106\r\n    at Function.settle (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.wait (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:565:10)\r\n    at /Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/common/yok.js:208:124\r\n    at Function.settle (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.wait (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:565:10)\r\n    at /Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/common/services/commands-service.js:51:55\r\n    at Function.settle (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.wait (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:565:10)\r\n    at /Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/common/errors.js:128:33\r\n    at Function.settle (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:249:26)\r\n    at FiberFuture.wait (/Users/topuzov/Git/nativescript-cli-tests/node_modules/fibers/future.js:565:10)\r\n    - - - - -\r\n    at ChildProcess.\u003canonymous> (/Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/services/test-execution-service.js:111:33)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)\r\n\r\n```\r\n\r\nWorkaround:\r\n```\r\ntns create TestApp && cd TestApp\r\ntns test init --framework mocha\r\nnpm install --save-dev mocha\r\ntns test android\r\n```\r\n","author":{"url":"https://github.com/dtopuzov","@type":"Person","name":"dtopuzov"},"datePublished":"2016-11-10T12:38:53Z","url":"https://github.com/NativeScript/nativescript-cli/issues/2212"}

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:15530ac0-6f9c-0e90-073e-63a184673606
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCE54:28A483:3E2094:529189:6B0195B2
html-safe-nonce239c6c27c6d91773dfe4d9803505df4696fc7c95c7ed6bfd43e4ad3a45af5d1c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTU0OjI4QTQ4MzozRTIwOTQ6NTI5MTg5OjZCMDE5NUIyIiwidmlzaXRvcl9pZCI6IjE4MzMwNjY4Mjc5NzUwNzExNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac866aa6a5ab61d95db4e350c01be445a470e8b32073fea68510260e01a7889a08
hovercard-subject-tagissue:188497971
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/2212/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b9944eeba0d5bae98ef83f3f913f105554b8e58324b916bead86138587c87504/NativeScript/nativescript-cli/issues/2212
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b9944eeba0d5bae98ef83f3f913f105554b8e58324b916bead86138587c87504/NativeScript/nativescript-cli/issues/2212
og:image:alttns create TestApp && cd TestApp tns test init --framework mocha tns test android Result: module.js:471 throw err; ^ Error: Cannot find module 'mocha' at Function.Module._resolveFilename (module.js...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedtopuzov
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/issues/2212#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F2212
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%2FNativeScript%2Fnativescript-cli%2Fissues%2F2212
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=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/2212
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/2212
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/2212
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests38 (38)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
https://github.com/NativeScript/nativescript-cli
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/2212
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/2212
tns test does not work with mocha 1.3+https://github.com/NativeScript/nativescript-cli/issues/2212#top
bughttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22bug%22
unit testinghttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22unit%20testing%22
https://github.com/dtopuzov
dtopuzovhttps://github.com/dtopuzov
on Nov 10, 2016https://github.com/NativeScript/nativescript-cli/issues/2212#issue-188497971
tzraikovhttps://github.com/tzraikov
bughttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22bug%22
on Nov 15, 2016https://github.com/NativeScript/nativescript-cli/issues/2212#event-859048674
https://github.com/dtopuzov
dtopuzovhttps://github.com/dtopuzov
on Nov 30, 2016https://github.com/NativeScript/nativescript-cli/issues/2212#issuecomment-263877510
tsonevnhttps://github.com/tsonevn
on Dec 5, 2016https://github.com/NativeScript/nativescript-cli/issues/2212#event-881982472
https://github.com/vchimev
vchimevhttps://github.com/vchimev
on Jan 23, 2017https://github.com/NativeScript/nativescript-cli/issues/2212#issuecomment-274575812
pkolevahttps://github.com/pkoleva
on Jan 26, 2017https://github.com/NativeScript/nativescript-cli/issues/2212#event-937732253
pkolevahttps://github.com/pkoleva
unit testinghttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22unit%20testing%22
on Jan 26, 2017https://github.com/NativeScript/nativescript-cli/issues/2212#event-937768437
https://github.com/dtopuzov
dtopuzovhttps://github.com/dtopuzov
on Apr 25, 2017https://github.com/NativeScript/nativescript-cli/issues/2212#issuecomment-297035907
#2283https://github.com/NativeScript/nativescript-cli/issues/2283
dtopuzovhttps://github.com/dtopuzov
completedhttps://github.com/NativeScript/nativescript-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 25, 2017https://github.com/NativeScript/nativescript-cli/issues/2212#event-1056685834
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/nativescript-cli/issues/2212
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/2212
bughttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22bug%22
unit testinghttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22unit%20testing%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.