Title: How do I run this app? · Issue #5 · WebDevSimplified/Face-Recognition-JavaScript · GitHub
Open Graph Title: How do I run this app? · Issue #5 · WebDevSimplified/Face-Recognition-JavaScript
X Title: How do I run this app? · Issue #5 · WebDevSimplified/Face-Recognition-JavaScript
Description: I installed all the packages and dependencies with sudo npm install -g nodemon. Then when I want to run the project with node script.js, this is what I get: npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /Users/username/Downloa...
Open Graph Description: I installed all the packages and dependencies with sudo npm install -g nodemon. Then when I want to run the project with node script.js, this is what I get: npm ERR! code ENOENT npm ERR! syscall op...
X Description: I installed all the packages and dependencies with sudo npm install -g nodemon. Then when I want to run the project with node script.js, this is what I get: npm ERR! code ENOENT npm ERR! syscall op...
Opengraph URL: https://github.com/WebDevSimplified/Face-Recognition-JavaScript/issues/5
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How do I run this app?","articleBody":"I installed all the packages and dependencies with `sudo npm install -g nodemon`. Then when I want to run the project with `node script.js`, this is what I get:\r\n\r\n```\r\nnpm ERR! code ENOENT\r\nnpm ERR! syscall open\r\nnpm ERR! path /Users/username/Downloads/Face-Recognition-JavaScript-master/package.json\r\nnpm ERR! errno -2\r\nnpm ERR! enoent ENOENT: no such file or directory, open '/Users/username/Downloads/Face-Recognition-JavaScript-master/package.json'\r\nnpm ERR! enoent This is related to npm not being able to find a file.\r\nnpm ERR! enoent \r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /Users/username/.npm/_logs/2020-08-24T06_01_03_368Z-debug.log\r\nusername@Users-MBP Face-Recognition-JavaScript-master % node script.js\r\n/Users/username/Downloads/Face-Recognition-JavaScript-master/script.js:1\r\nconst imageUpload = document.getElementById('imageUpload')\r\n ^\r\n\r\nReferenceError: document is not defined\r\n at Object.\u003canonymous\u003e (/Users/username/Downloads/Face-Recognition-JavaScript-master/script.js:1:21)\r\n at Module._compile (internal/modules/cjs/loader.js:1133:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)\r\n at Module.load (internal/modules/cjs/loader.js:977:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:877:14)\r\n at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)\r\n at internal/main/run_main_module.js:18:47\r\n```\r\n\r\nHow do I run this app?","author":{"url":"https://github.com/PrashantSaikia","@type":"Person","name":"PrashantSaikia"},"datePublished":"2020-08-24T06:10:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/5/Face-Recognition-JavaScript/issues/5"}
| 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:d5f19952-6f2e-a2e9-6645-772c76840b92 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B0A2:3930F2:D00A55C:10D676E8:6976F89F |
| html-safe-nonce | 5932e95ae4aa41df3f50280fb18ba3919750839bd54dbf2e52edb81fb858a3ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEEyOjM5MzBGMjpEMDBBNTVDOjEwRDY3NkU4OjY5NzZGODlGIiwidmlzaXRvcl9pZCI6IjU5NDI0NTM0ODc2NDY3MzQ0OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f55662a36be32db48baf3ec481fa20cdfabd9d316cbca7dfe026ac6dfec35b02 |
| hovercard-subject-tag | issue:684388555 |
| 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/WebDevSimplified/Face-Recognition-JavaScript/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e7a9020c2df2ad7540fe71b7e95a38fc853b51884d96cadc25aa0a259c70227e/WebDevSimplified/Face-Recognition-JavaScript/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e7a9020c2df2ad7540fe71b7e95a38fc853b51884d96cadc25aa0a259c70227e/WebDevSimplified/Face-Recognition-JavaScript/issues/5 |
| og:image:alt | I installed all the packages and dependencies with sudo npm install -g nodemon. Then when I want to run the project with node script.js, this is what I get: npm ERR! code ENOENT npm ERR! syscall op... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PrashantSaikia |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/WebDevSimplified/Face-Recognition-JavaScript git https://github.com/WebDevSimplified/Face-Recognition-JavaScript.git |
| octolytics-dimension-user_id | 39717099 |
| octolytics-dimension-user_login | WebDevSimplified |
| octolytics-dimension-repository_id | 188515109 |
| octolytics-dimension-repository_nwo | WebDevSimplified/Face-Recognition-JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 188515109 |
| octolytics-dimension-repository_network_root_nwo | WebDevSimplified/Face-Recognition-JavaScript |
| 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 | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width