{"id":29690779,"url":"https://github.com/daejoon/mean-learn","last_synced_at":"2026-02-14T04:08:53.534Z","repository":{"id":13085170,"uuid":"15766262","full_name":"daejoon/mean-learn","owner":"daejoon","description":"MEAN을 배우는 파일럿 Web App을 만들어 보는 프로젝트","archived":false,"fork":false,"pushed_at":"2019-01-24T06:01:55.000Z","size":4376,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-07T08:44:23.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daejoon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-09T12:35:08.000Z","updated_at":"2019-01-24T06:01:57.000Z","dependencies_parsed_at":"2022-09-10T22:50:52.508Z","dependency_job_id":null,"html_url":"https://github.com/daejoon/mean-learn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daejoon/mean-learn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daejoon%2Fmean-learn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daejoon%2Fmean-learn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daejoon%2Fmean-learn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daejoon%2Fmean-learn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daejoon","download_url":"https://codeload.github.com/daejoon/mean-learn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daejoon%2Fmean-learn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29435597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T03:34:37.767Z","status":"ssl_error","status_checked_at":"2026-02-14T03:34:09.092Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-23T06:37:56.558Z","updated_at":"2026-02-14T04:08:53.520Z","avatar_url":"https://github.com/daejoon.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MEAN-LEARN\n\nMEAN(MongoDB, Express, AngularJS, Node.js)을 배우는 프로젝트\n\n## Issue List\n\n#### IntelliJ에서 Node 사용시 [ReferenceError: Process is not defined] 발생시 대처방법\n\n현재 노드 버전은 v0.10.24, Express는 3.4.7 이다.\n\n처음 모듈을 만들고 Node Express App을 실행하면 Console 창에 [ReferenceError: Process is not defined]가 발생한다.\n\nnode_modules 하위의 tools/node.js 파일들을 모두 찾아 'vm.createContext'을 찾아서 다음과 같이 변경한다.\n``` javascript\nvar UglifyJS = vm.createContext({\n      sys           : sys,\n      console       : console,\n      process       : process,\n      Buffer        : Buffer,\n      MOZ_SourceMap : require(\"source-map\")\n});\n```\n[원본 링크](https://github.com/Chevex/UglifyJS2/commit/7348facbe994aa1909a276b4be54f13c7f01e079)\n\n#### IntelliJ에서 Node http를 Cluster 사용시 연결이 안되는 문제.\n\n결국 클러스터링을 사용하면은 디버깅이 안된다. Run(Release)으로 실행 한다.\n\n[원본 링크](https://github.com/joyent/node/issues/5318)\n\n[StackOverflow](http://stackoverflow.com/questions/16840623/how-to-debug-node-js-child-forked-process)\n\n#### Render ejb with express\n\n``` javascript\nvar express = require('express');\nvar app = express();\n\n\n// Register ejs as .html. If we did\n// not call this, we would need to\n// name our views foo.ejs instead\n// of foo.html. The __express method\n// is simply a function that engines\n// use to hook into the Express view\n// system by default, so if we want\n// to change \"foo.ejs\" to \"foo.html\"\n// we simply pass _any_ function, in this\n// case `ejs.__express`.\n\napp.engine('.html', require('ejs').__express);\n\n// Optional since express defaults to CWD/views\n\napp.set('views', __dirname + '/views');\n\n// Without this you would need to\n// supply the extension to res.render()\n// ex: res.render('users.html').\napp.set('view engine', 'html');\n\n// Dummy users\nvar users = [\n  { name: 'tobi', email: 'tobi@learnboost.com' },\n  { name: 'loki', email: 'loki@learnboost.com' },\n  { name: 'jane', email: 'jane@learnboost.com' }\n];\n\napp.get('/', function(req, res){\n  res.render('users', {\n    users: users,\n    title: \"EJS example\",\n    header: \"Some users\"\n  });\n});\n\n\napp.listen(80);\nconsole.log('Express app started on port %d', 80);\n```\n\n[원본 링크](http://runnable.com/UTlPPF-f2W1TAAEa/render-ejs-with-express)\n\n#### Jade 1.1.4에서 script 태그 작성시 오류\n\n[Node.js 프로그래밍](http://www.yes24.com/24/goods/6271069?scode=029) 책보고 공부하는데 오류 발생\n\njade 버전이 올라가면서 문법이 변경됐다.\n\n`script(type='text/javascript')` =\u003e `script(type='text/javascript').` 스크립트 끝에 '.'을 추가해야 한다.\n\n[원본 링크](http://jade-lang.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaejoon%2Fmean-learn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaejoon%2Fmean-learn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaejoon%2Fmean-learn/lists"}