소개
게시글
질문&답변
2023.03.06
import "/imports/startup"; 에서 문제가 발생했습니다.
주로 오타문제였네요,, 잘해결했고 친절한 답변 감사합니다!
- 0
- 2
- 585
질문&답변
2023.03.05
import "/imports/startup"; 에서 문제가 발생했습니다.
(사진)다음과 같이 수정해보니 돌아가긴하는데 아래와 같은 오류가 발생하네요ㅠㅠ [실행 및 결과 코드] jeongmujin@jeongmujin-ui-MacBookPro smart-menu-study % disable_websockets=true meteor run [[[[[ ~/CodingProject/smart-menu-study ]]]]] => Started proxy. => Started MongoDB. W20230305-12:11:31.882(9)? (STDERR) (node:29188) UnhandledPromiseRejectionWarning: Error: Cannot find module '/imports/startup' W20230305-12:11:31.908(9)? (STDERR) at makeMissingError (packages/modules-runtime.js:222:12) W20230305-12:11:31.908(9)? (STDERR) at Module.resolve (packages/modules-runtime.js:228:17) W20230305-12:11:31.908(9)? (STDERR) at packages/modules-runtime.js:154:31 W20230305-12:11:31.908(9)? (STDERR) at new Promise ( ) W20230305-12:11:31.908(9)? (STDERR) at Module.prefetch (packages/modules-runtime.js:153:34) W20230305-12:11:31.909(9)? (STDERR) at Module.dynamicImport (packages/dynamic-import.js:464:17) W20230305-12:11:31.909(9)? (STDERR) at module (server/main.js:4:3) W20230305-12:11:31.909(9)? (STDERR) at fileEvaluate (packages/modules-runtime.js:336:7) W20230305-12:11:31.909(9)? (STDERR) at Module.require (packages/modules-runtime.js:238:14) W20230305-12:11:31.909(9)? (STDERR) at require (packages/modules-runtime.js:258:21) W20230305-12:11:31.909(9)? (STDERR) at /Users/jeongmujin/CodingProject/smart-menu-study/.meteor/local/build/programs/server/app/app.js:29:1 W20230305-12:11:31.909(9)? (STDERR) at /Users/jeongmujin/CodingProject/smart-menu-study/.meteor/local/build/programs/server/boot.js:369:38 W20230305-12:11:31.909(9)? (STDERR) at Array.forEach ( ) W20230305-12:11:31.909(9)? (STDERR) at /Users/jeongmujin/CodingProject/smart-menu-study/.meteor/local/build/programs/server/boot.js:210:21 W20230305-12:11:31.909(9)? (STDERR) at /Users/jeongmujin/CodingProject/smart-menu-study/.meteor/local/build/programs/server/boot.js:423:7 W20230305-12:11:31.909(9)? (STDERR) at Function.run (/Users/jeongmujin/CodingProject/smart-menu-study/.meteor/local/build/programs/server/profile.js:256:14) W20230305-12:11:31.910(9)? (STDERR) (Use node --trace-warnings ... to show where the warning was created) W20230305-12:11:31.910(9)? (STDERR) (node:29188) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode ). (rejection id: 2) W20230305-12:11:31.910(9)? (STDERR) (node:29188) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. => Started your app. => App running at: http://localhost:3000/
- 0
- 2
- 585