Title: Possible problem with README being incorrect ? · Issue #2 · ash-framework/cli · GitHub
Open Graph Title: Possible problem with README being incorrect ? · Issue #2 · ash-framework/cli
X Title: Possible problem with README being incorrect ? · Issue #2 · ash-framework/cli
Description: My Node is 7.7.2 . So I think this is primarily a documentation issue and if you could confirm that I'd be happy to do a PR ... Just following the 'start from scratch' instructions. When I start the server (ash server) I get this rshea@p...
Open Graph Description: My Node is 7.7.2 . So I think this is primarily a documentation issue and if you could confirm that I'd be happy to do a PR ... Just following the 'start from scratch' instructions. When I start th...
X Description: My Node is 7.7.2 . So I think this is primarily a documentation issue and if you could confirm that I'd be happy to do a PR ... Just following the 'start from scratch' instructions. Whe...
Opengraph URL: https://github.com/ash-framework/cli/issues/2
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Possible problem with README being incorrect ?","articleBody":"My Node is 7.7.2 .\r\n\r\nSo I _think_ this is primarily a documentation issue and if you could confirm that I'd be happy to do a PR ...\r\n\r\nJust following the 'start from scratch' instructions. When I start the server (`ash server`) I get this \r\n\r\n```\r\nrshea@polo /media/poloextra/dev/ash-cli-testbed/my-awesome-project $ ash server\r\n🦄 Ash server listening on port 3010\r\n/media/poloextra/dev/ash-cli-testbed/my-awesome-project/node_modules/@ash-framework/ash/src/router/load-file.js:14\r\n throw new FileNotFoundError(name, directory)\r\n ^\r\n\r\nFileNotFoundError: Unable to find file posts.js in /media/poloextra/dev/ash-cli-testbed/my-awesome-project/app/routes\r\n at module.exports (/media/poloextra/dev/ash-cli-testbed/my-awesome-project/node_modules/@ash-framework/ash/src/router/load-file.js:14:13)\r\n at allowedMethods.forEach.method (/media/poloextra/dev/ash-cli-testbed/my-awesome-project/node_modules/@ash-framework/ash/src/router/add-route-callbacks.js:52:21)\r\n at Array.forEach (native)\r\n at routeObjects.forEach.routeObj (/media/poloextra/dev/ash-cli-testbed/my-awesome-project/node_modules/@ash-framework/ash/src/router/add-route-callbacks.js:48:22)\r\n at Array.forEach (native)\r\n at addRouteCallbacks (/media/poloextra/dev/ash-cli-testbed/my-awesome-project/node_modules/@ash-framework/ash/src/router/add-route-callbacks.js:10:16)\r\n at module.exports (/media/poloextra/dev/ash-cli-testbed/my-awesome-project/node_modules/@ash-framework/ash/src/router/index.js:24:18)\r\n at Function.start (/media/poloextra/dev/ash-cli-testbed/my-awesome-project/node_modules/@ash-framework/ash/src/classes/application.js:235:13)\r\n at Object.\u003canonymous\u003e (/media/poloextra/dev/ash-cli-testbed/my-awesome-project/app/application.js:6:13)\r\n at Module._compile (module.js:571:32)\r\n at loader (/home/rshea/.config/yarn/global/node_modules/babel-register/lib/node.js:144:5)\r\n at Object.require.extensions.(anonymous function) [as .js] (/home/rshea/.config/yarn/global/node_modules/babel-register/lib/node.js:154:7)\r\n at Module.load (module.js:488:32)\r\n at tryModuleLoad (module.js:447:12)\r\n at Function.Module._load (module.js:439:3)\r\n at Function.Module.runMain (module.js:605:10)\r\n✖ App has crashed, waiting for file changes\r\n```\r\n\r\n\r\nI had noticed when amending the `./app/routes/posts.js` (as per the README instructions) that the `import Ash` differed in the README from the import seen in `./app/routes/posts.js` immediately after the `ash generate route posts` command created it.\r\n\r\nIt was like this immediately after the command\r\n\r\n```\r\nimport Ash from '@ash-framework/ash'\r\n```\r\nand the README wanted it changed to \r\n\r\n```\r\nimport Ash from 'ash-core'\r\n```\r\n\r\nWell when the server blew up I decided to try switching the import back to the way it had been and that indeed seems to have fixed it, the server starts without error and is able to serve resources .\r\n\r\nIs this just a question of the README being out of date ?\r\n\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/shearichard","@type":"Person","name":"shearichard"},"datePublished":"2017-03-23T10:22:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/2/cli/issues/2"}
| 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:f923bd7b-bb35-e3ce-3359-5891a17944e3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C218:83BC0:67D4B:83CB1:69903B43 |
| html-safe-nonce | c5f1d91af647640ccc37341315d1fc44cf59853db69a8d8fc6b35c119adde47f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjE4OjgzQkMwOjY3RDRCOjgzQ0IxOjY5OTAzQjQzIiwidmlzaXRvcl9pZCI6Ijg3OTAwOTQ5OTkwNzA5ODA5MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f8db011ee0f18b3803fd77528cdadab5e1acecb43aeb524bea97141f25711f5a |
| hovercard-subject-tag | issue:216378937 |
| 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/ash-framework/cli/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c744c26e0c227bd2fc3c5abe53e12548355028e5f215a86aa16c10ea6dc96f0/ash-framework/cli/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c744c26e0c227bd2fc3c5abe53e12548355028e5f215a86aa16c10ea6dc96f0/ash-framework/cli/issues/2 |
| og:image:alt | My Node is 7.7.2 . So I think this is primarily a documentation issue and if you could confirm that I'd be happy to do a PR ... Just following the 'start from scratch' instructions. When I start th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shearichard |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ash-framework/cli git https://github.com/ash-framework/cli.git |
| octolytics-dimension-user_id | 22801573 |
| octolytics-dimension-user_login | ash-framework |
| octolytics-dimension-repository_id | 73421039 |
| octolytics-dimension-repository_nwo | ash-framework/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 73421039 |
| octolytics-dimension-repository_network_root_nwo | ash-framework/cli |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width