Title: gulp test for new project throwing error · Issue #2628 · angular-fullstack/generator-angular-fullstack · GitHub
Open Graph Title: gulp test for new project throwing error · Issue #2628 · angular-fullstack/generator-angular-fullstack
X Title: gulp test for new project throwing error · Issue #2628 · angular-fullstack/generator-angular-fullstack
Description: I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests. Item Version generator-angular-fullstack 4.2.2 Node 8.4.0 npm 5.3.0 Operating System OS X 10 Item ...
Open Graph Description: I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests. Item Version generator-angular-fullstack 4.2.2 Node 8.4.0 ...
X Description: I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests. Item Version generator-angular-fullstack 4.2.2 Node 8.4.0 ...
Opengraph URL: https://github.com/angular-fullstack/generator-angular-fullstack/issues/2628
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"gulp test for new project throwing error","articleBody":" - [x] I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.\r\n\r\nItem | Version\r\n----- | -----\r\ngenerator-angular-fullstack | 4.2.2\r\nNode | 8.4.0\r\nnpm | 5.3.0\r\nOperating System | OS X 10\r\n\r\nItem | Answer\r\n----- | -----\r\nTranspiler | Babel\r\nMarkup | Pug\r\nCSS | SCSS\r\nRouter | ngRoute\r\nClient Tests | Mocha\r\nDB | SQL\r\nAuth | Y\r\n\r\nGot this error after scaffolding a project and running gulp test:\r\n```\r\nevents.js:182\r\n throw er; // Unhandled 'error' event\r\n ^\r\nTypeError: The \"digest\" argument is required and must not be undefined\r\n at pbkdf2 (crypto.js:635:11)\r\n at Object.exports.pbkdf2 (crypto.js:623:10)\r\n at Instance.encryptPassword (/Users/nates/dev/test/server/api/user/user.model.js:187:33)\r\n at /Users/nates/dev/test/server/api/user/user.model.js:219:18\r\n at RandomBytes.ondone (/Users/nates/dev/test/server/api/user/user.model.js:160:18)\r\n```\r\n\r\nSeems like the function calls on [line 183 of user.model(sequelizeModels).js](https://github.com/angular-fullstack/generator-angular-fullstack/blob/master/templates/app/server/api/user(auth)/user.model(sequelizeModels).js#L183) and [line 187](https://github.com/angular-fullstack/generator-angular-fullstack/blob/master/templates/app/server/api/user(auth)/user.model(sequelizeModels).js#L187) need to specify the digest for newer versions of node.","author":{"url":"https://github.com/nstuyvesant","@type":"Person","name":"nstuyvesant"},"datePublished":"2017-09-01T03:17:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2628/generator-angular-fullstack/issues/2628"}
| 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:12058a81-d47c-0f15-8792-1294f90694c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D632:1531FB:B7980:105258:696A46D3 |
| html-safe-nonce | 0c691ed93f4fa80bd003a78f5911ccf1c65784e16d73536a33ef2856413e3a20 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjMyOjE1MzFGQjpCNzk4MDoxMDUyNTg6Njk2QTQ2RDMiLCJ2aXNpdG9yX2lkIjoiNzY1Nzg5OTYxMDc2Nzc3MTM0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 925d6f7d81a49743406e7e956793d3e7573db98f41471d901337850f64a11fb6 |
| hovercard-subject-tag | issue:254524869 |
| 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/angular-fullstack/generator-angular-fullstack/2628/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4092b7c78fcf6627bc2bd96dd8b300cb2b9c35c5b32110d57b6ec92e7ca8bf3f/angular-fullstack/generator-angular-fullstack/issues/2628 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4092b7c78fcf6627bc2bd96dd8b300cb2b9c35c5b32110d57b6ec92e7ca8bf3f/angular-fullstack/generator-angular-fullstack/issues/2628 |
| og:image:alt | I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests. Item Version generator-angular-fullstack 4.2.2 Node 8.4.0 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nstuyvesant |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/angular-fullstack/generator-angular-fullstack git https://github.com/angular-fullstack/generator-angular-fullstack.git |
| octolytics-dimension-user_id | 12663106 |
| octolytics-dimension-user_login | angular-fullstack |
| octolytics-dimension-repository_id | 13911118 |
| octolytics-dimension-repository_nwo | angular-fullstack/generator-angular-fullstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13911118 |
| octolytics-dimension-repository_network_root_nwo | angular-fullstack/generator-angular-fullstack |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width