173만명의 커뮤니티!! 함께 토론해봐요.
미해결
Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
npm install을 하면 > scrypt@6.0.3 preinstall C:\Users\LG\addition-game-starter\node_modules\scrypt > node node-scrypt-preinstall.js > keccak@1.4.0 install C:\Users\LG\addition-game-starter\node_modules\keccak > npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used." > keccak@1.4.0 rebuild C:\Users\LG\addition-game-starter\node_modules\keccak > node-gyp rebuild C:\Users\LG\addition-game-starter\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Python\Python36\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at maybeClose (internal/child_process.js:982:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\LG\addition-game-starter\node_modules\keccak gyp ERR! node -v v10.16.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the keccak@1.4.0 rebuild script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\LG\AppData\Roaming\npm-cache\_logs\2019-06-18T07_15_07_797Z-debug.log "Keccak bindings compilation fail. Pure JS implementation will be used." > scrypt@6.0.3 install C:\Users\LG\addition-game-starter\node_modules\scrypt > node-gyp rebuild C:\Users\LG\addition-game-starter\node_modules\scrypt>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Python\Python36\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at maybeClose (internal/child_process.js:982:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\LG\addition-game-starter\node_modules\scrypt gyp ERR! node -v v10.16.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN klay-dapp-boilerplate@0.0.1 No repository field. npm WARN klay-dapp-boilerplate@0.0.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! scrypt@6.0.3 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the scrypt@6.0.3 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\LG\AppData\Roaming\npm-cache\_logs\2019-06-18T07_15_11_044Z-debug.log 이런 오류가 뜹니다. 어떻게 해야할까요... node: 10.16.0 npm: 6.9.0 입니다
tae hyung kim
2019-06-18T07:17:49.985Z
댓글 2
좋아요 0
조회수 400
해결됨
트렐로 개발로 배우는 Vuejs, Vuex, Vue-Router 프론트엔드 실전 기술
강의에서 제공된 API에 대해서 강의 제작된게 있을까요?? 또는 혹 참고할만한 강의가 있을까요?
홍태환 Hong
2019-06-18T05:23:57.538Z
댓글 2
좋아요 0
조회수 288
해결됨
Node.js 교과서 - 기본부터 프로젝트 실습까지
제로초님과 동일한 코드를 사용하였는데 /test시 Request failed with status code 500에러가 뜹니다. 어디서 오류가 난걸까요...? Request failed with status code 500 at createError (\node_modules\axios\lib\core\createError.js:16:15) at settle (\node_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (\node_modules\axios\lib\adapters\http.js:237:11) at IncomingMessage.emit (events.js:194:15) at endReadableNT (_stream_readable.js:1125:12) at process._tickCallback (internal/process/next_tick.js:63:19)
mysql mongodb nodejs javascript
neok
2019-06-17T16:02:56.825Z
댓글 10
좋아요 0
조회수 15923
미해결
Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex
인프런 아이디: joo9789 인프런 이메일: mentoforall@gmail.com 깃헙 아이디: mentoforall@gmail.com 깃헙 Username: Young9789
이영주
2019-06-17T15:55:25.988Z
댓글 1
좋아요 1
조회수 228
해결됨
Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
안녕하세요. 예제를 따라하다 문득 궁금한게 생겨 연락 드립니다. ip:port/#/news 처럼 왜 #을 사용하나요?
조종균
2019-06-17T14:47:59.007Z
댓글 1
좋아요 5
조회수 387
미해결
Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\82109\AppData\Roaming\npm-cache\_logs\2019-06-17T13_52_56_274Z-debug.log 왜 에러 뜨는지 어떻게 해결하는지 알 수 있을까요??..
김용현
2019-06-17T13:54:35.528Z
댓글 4
좋아요 0
조회수 724
미해결
배틀로얄 게임을 만들어보며 배우는 언리얼 게임 개발
정글맵이 안열리립니다 프로잭트 10 파일까지 열리고 나뭐지는 않열립니다 헬프미
joo won ho
2019-06-17T13:48:41.666Z
댓글 0
좋아요 0
조회수 165
미해결
코틀린 기반 안드로이드 앱개발 심화 2단계
좋은 강의 감사히 잘 듣고 있습니다. Handler 관련 질문사항이 생겨서 질문 남깁니다. 이전 강의에서 했던, ThreadClass 생성 후 var handler : Handler() = Handler() var thread = ThreadClass() handler.post(thread) 해 주는 방식과, 오늘 강의에서 가르쳐주신 DislplayHandler을 사용하는 것에는 어떤 차이가 있나요? 단순한 문제일 때는 handler.post(thread)를 쓰고 여러 쓰레드로부터 값을 받아서 유동적으로 화면을 표시해야할 때는 DisplayHandler를 쓴다고 생각해도 될까요?
박성호
2019-06-17T12:59:03.415Z
댓글 0
좋아요 0
조회수 271
미해결
Typescript with Vue 실전 프로젝트
혹시라도, this.$emit('count', this.xxx); @count=count($event) methods: { count(countNum){ console.log(countNum); }, } 이런식으로 데이터를 전달하고 싶은신분이 있을까봐 예제코드 남깁니다. @Emit ( 'passData' ) // 이름이 같으면 , 데코레이터에 굳이 명시해주지 않아도 된다 . public passDataToParent () { return this . childNum ++ ; } return 으로 넘기고. v-on :passData =" passDataToParent ($event) " public passDataToParent (value: number | string ) { console. log ( 'passDataToParent..' ) ; this . receiveMessage = value ; } 이런식으로 사용하시면 됩니다.
frontzero
2019-06-17T08:21:11.218Z
댓글 0
좋아요 1
조회수 238
미해결
파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap
pycharm이랑 아나콘다 설치하면서 venv/libs/Scripts/python.exe 가 없는 문제로 가상환경 자체는 만들어지지만 activate는 되지 않습니다. 컴퓨터 초기화도 3번 넘게 하고 다시 프로그램도 깔아보고 직접 경로에 파일도 넣어봤지만 해결이 안 됩니다. ㅠㅠ 앞 강좌의 질문에서는 별 상관 없다고 하셨는데 앞으로 코드를 짜면서 (venv)가 없어도 괜찮나요? 장고 깔 때는 꼭 있어야 한다고 하신 것 같아서 질문 드립니다.
유선경
2019-06-17T08:17:09.294Z
댓글 2
좋아요 0
조회수 214
미해결
Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
print 부분에서 Navogator로 코드가 바뀌는데 영상에서는 생략된듯 합니다. 아래와 같이 수정하시면 될 것 같습니다. SignInButton ( Buttons. Google , onPressed: () { _handleSignIn().then((user) { Navigator. pushReplacement (context, MaterialPageRoute (builder: (context)=> TabPage (user))); });
연양
2019-06-17T07:12:57.595Z
댓글 0
좋아요 2
조회수 162
미해결
스프링 부트 개념과 활용
안녕하세요. 강좌 잘 보고 있습니다. 스프링부트로 개발중인데 기존 참고 소스에 아래 부분이 있습니다. @Override public void configure(HttpSecurity http) throws Exception{ http.authorizeRequests() .antMatchers("/").access("#oauth2.test.web") .anyRequest().authenticated(); } 여기서 access("#oauth2.test.web") 이 부분은 어떤 걸 처리하는건지 궁금합니다.
flown
2019-06-17T05:49:19.694Z
댓글 1
좋아요 0
조회수 181
미해결
블록체인 이더리움 부동산 댑(Dapp) 만들기 - 기본편
localhost로 실행하면 정상 실행이 되는데 Ropsten으로 실행하면 제출 버튼이 안눌리고 콘솔에 이름값이 encoding이 되지 않고 넘어오는 상황입니다. 갑자기 제출 버튼이 안눌리네요ㅠㅠㅠ 콘솔에는 app.js 파일에있는 buyRealEstate 함수에 catch문에있는 console.log(err.message)이 실행되고 에러 내용은 invalid address 입니다
박용훈
2019-06-17T05:28:29.965Z
댓글 1
좋아요 0
조회수 179
Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
삭제된 글입니다
궁극의기술
2019-06-17T05:04:18.583Z
댓글 1
좋아요 0
조회수 71
미해결
블록체인 이더리움 부동산 댑(Dapp) 만들기 - 기본편
매물을 구입하고 파워셀에서 정보를 확인하고 싶은데 명령어를 어떻게 쳐야할지 잘 모르겠습니다. 명령어좀 알려주세요ㅠㅠ
박용훈
2019-06-17T04:46:47.662Z
댓글 1
좋아요 0
조회수 204
미해결
Typescript with Vue 실전 프로젝트
안녕하세요? watch 속성 질문 드립니다. <div> <p> @Watch </p> <button @click =" changeMessage " > 메세지 변경 </button> <div> {{ cMsg }} </div> </div> import { Component , Vue , Watch } from 'vue-property-decorator' ; export default class Home extends Vue { public message : string = 'hello children' ; public cMsg : string | undefined; public alertMsg : string = ' 변경이 감지되었습니다 .' ; // immediate : 즉시 호출하겠다는 의미 . // deep : object 내의 속성값까지 감시 . // @Watch('cMsg', {immediate: true, deep: true}) @Watch ( 'cMsg' ) public watchAlertMsg (value: string | undefined, oldValue: string | undefined ) { console. log (value) ; console. log (oldValue) ; alert ( this . alertMsg ) ; } public changeMessage () { this . cMsg = 'change' ; } } 위와 같이 코딩을 했는데, cMsg 상태변수에 '' 이런식으로 초기화를 해둔경우는 정상적으로 동작을 하는데, 위와 같이 하면 왜 변경감지가 안되는지 알고싶습니다. TS를 사용안한 vue에서는 테스트를 해보지는 못했습니다..ㄷㄷ public cMsg : string | undefined = '' ; 위와 같이 초기화를 해주면, 옆에 사진과 같이, 해당 컴포넌트 상태변수로 존재합니다. = ''; 구문을 빼면, 상태변수 자체도 안보이구요 제가 TS구문을 잘 몰라서 이런거 같기는 한데.. public cMsg : string | undefined 해당 상태변수에 문자열 또는 undefined 가 할당이 될수 있어 이거 아닌가요? 그러면 제 생각은 cMsg = undefined; 이런거니 여기서 값이 바뀌면 감지가 되야 하는거같은데..ㅠㅠ 어렵네요 watch : { testWatch (after , before) { console. log ( ' 감지 ?' ) ; console. log (before) ; console. log (after) ; } } , data () { return { testWatch : undefined, } ; } 위 와 같이 하면, 정상적으로 감지(값을 변경할때마다)가 되어서 watch 속성 콜백함수가 호출이 됩니다. TS 당신은 왜..ㅠㅠ
frontzero
2019-06-17T04:07:09.948Z
댓글 2
좋아요 1
조회수 668
미해결
쉽게 배워보는 파이참(PyCharm) 핵심 가이드
파이참 섹션10 강의 보면서 마지막 부분 삭제 따라한 후 코딩 실행이 안됩니다
mhpfa
2019-06-17T03:39:48.267Z
댓글 1
좋아요 0
조회수 193
미해결
블록체인 이더리움 부동산 댑(Dapp) 만들기 - 기본편
RealEstate.sol 파일 열면 첫 번째 줄 솔리디티 버전에 빨간줄이 생기고 에러가 뜨는데 현재 버전이 0.5.8이라고 뜨길래 버전을 변경하면 getAllBuyer함수 리턴값인 address[10]에 에러가 뜹니다 해결방법좀 알려주세요ㅠㅠ
박용훈
2019-06-17T03:16:25.945Z
댓글 2
좋아요 0
조회수 287
미해결
2017 Do it! 안드로이드 앱 프로그래밍 [개정 4판 누가 버전]
Service에서 MainActivity로 인텐트를 전달해서 정보를 전달 하고 그것을 받아서 MainActivity에서 Toast로 출력할때 분명 조건으로 if(intent != null)을 넣었음에도 불구하고 최초 실행시에 Toast문이 출력이 되버리는건 왜인가요??
블랙베리
2019-06-17T02:56:24.093Z
댓글 0
좋아요 1
조회수 240
미해결
프로그래밍, 데이터 과학을 위한 파이썬 입문
안녕하세요 변수의 범위 설명하실때 사용하신 함수 관련 질문이 있습니다 그때 입력하신 a, b 값에 str()을 항상 씌우셨잖아요. 복습하다가 a,b가 integer이니까 굳이 str()을 붙이 필요가 없다고 생각해서 다 지우고 아래와같이 입력했는데 실행이 잘 되더라고요. def calculate(x,y) : total = x+y print("in function") print('a:', a, 'b:', b, 'a+b:', a+b, 'total :', total) return total a=5 b=7 total=0 print("in program -1") print('a:', a, 'b:', b, 'a+b:', a+b) sum=calculate(a,b) print("after calculation") print("total :", total, "sum:", sum) 그래서 선생님이 굳이 str()을 붙이신 이유가 있으신걸까해서 여쭤봅니다. 다른 함수 사용할때도 str()을 붙이는 것이 더 유용한 건가요? 답변해주시면감사하겠습니다
josohyun0520
2019-06-16T15:12:17.480Z
댓글 1
좋아요 0
조회수 168