전체 글
-
Your project requires a newer version of the Kotlin Gradle plugin.Flutter/Error 2024. 8. 31. 01:19
Your project requires a newer version of the Kotlin Gradle plugin. │ │ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update the │ │ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of https://kotlinlang.org/docs/releases.html#release-details위의 사이트에 들어가서 kotlin 최신 버전을 알아본다. 이럴때 android/settings.gradle에 plugins..
-
[Error] Error (Xcode): redefinition of module 'Firebase'Flutter/Error 2024. 8. 30. 23:18
Error (Xcode): redefinition of module 'Firebase'밑엔 디렉토리가 뜬다. 이 경우 ios 디렉토리를 Xcode로 들어간다. 그리고 Runner을 선택하고 Package Dependencies가 아무것도 없이 설정해주면 된다. 참고자료https://stackoverflow.com/questions/70760326/flutter-on-ios-redefinition-of-module-firebase
-
[Error/Flutter]CocoaPods did not set the base configuration of your project because your project already has a custom config set.Flutter/Error 2024. 8. 30. 23:15
CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configu..
-
[nodejs]smtpBackend/nodejs 2024. 3. 4. 22:38
$ npm i nodemailer-smtp-pool nodemailer import nodemailer from 'nodemailer'; import smtpPool from 'nodemailer-smtp-pool'; const config = { mailer: { service: 'Gmail', host: 'localhost', port: '587', user: process.env.SMTPUSER, password: process.env.SMTPPW, }, }; const from = `sss ` const html = `내용`; const subject = '메일 이름' const mailOptions = { from, to, subject, html, ..
-
[nextjs] 팝업창 닫기 (뒤로가기 버튼)카테고리 없음 2024. 3. 4. 22:01
function goBack() { const mainPage = '/'; const referrerHost = document.referrer?new URL(document.referrer).host : ''; const currentHost = window.location.host; if(referrerHost == currentHost){ window.history.back() }else{ router.push(mainPage); } dispatch({type:'PopupClose'}) } 여기서 dispatch({type:"PopupClose"})는 팝업창을 닫는 기능을 한다.
-
[flutter] _ClientSocketException (ClientException with SocketException: Connection failed 오류카테고리 없음 2023. 9. 16. 19:40
노마드코더 보면서 공부하다가 이런 에러가 떴다. 오랜만에 튼 거여서 멘붕이었었다. _ClientSocketException (ClientException with SocketException: Connection failed (OS Error: Operation not permitted, errno = 1), address = webtoon-crawler.nomadcoders.workers.dev, port = 443, uri=https://webtoon-crawler.nomadcoders.workers.dev/today) 찾아보니 xcode를 틀어가지고 변경을 하라는 말도 있었다. 그런데 해결책은 간단했다. vscode에서 바로 그 디렉토리에서 $ vi macos/Runner/*.entitlements..
-
[flutter] packages/flutter/lib/src/material/bottom_navigation_bar_theme.dart:5:8: Error: Dart library 'dart:ui' is not available on this platform. import 'dart:ui' show lerpDouble; 오류카테고리 없음 2023. 7. 26. 00:21
이거때문에 엄청 좌절하고 플러터를 공부할 마음이 사라졌었는데 찾았다. 여기서 Run Code를 하는 것이 아니라 Start Debugging을 하면 된다. reference dart:ui:1: Error: Not found: dart:ui. flutter/dart: - Stack Overflow
-
[nextjs] jsonwebtoken jwt.verify 함수카테고리 없음 2023. 6. 9. 17:01
TypeError: Right-hand side of 'instanceof' is not an object 아 진짜 짜증난다... 진짜 이런게 너무 싫다. 백엔드에서 되는거 확인하고 프론트엔드에서 했는데 안되었다. nextjs에서 안되는데... 알고보니 해결방법은 다운그레이드였다. 만약 9.0.0 버전이라면 8.5.1 버전으로 다운그레이드하라는게 해결책.. 근데 진짜 잘 됨!!! https://github.com/auth0/node-jsonwebtoken/issues/892