• 카테고리

    질문 & 답변
  • 세부 분야

    데스크톱 앱 개발

  • 해결 여부

    미해결

npm run webpack 시 에러 발생,

18.05.23 00:17 작성 조회수 73

0

참고 사진 '꼭' 확인 부탁 드립니다. 원 강의와 폴더구조가 다르게 되어 있습니다!

https://drive.google.com/file/d/1lMSmS4dmgrIAe2c9txKcuujOW_exkEWj/view?usp=sharing

npm run webpack을 실행할 경우 아래와 같은 에러가 등장하는데...

이유를 알 수 있을까요?

Junosimac:BookMark_electron junobang$ npm run build

bookmark-electron@0.0.0 build /Users/junobang/DevProject/BookMark_electron

webpack

Hash: bb72092d55ec39b88a8e

Version: webpack 4.8.3

Time: 41ms

Built at: 2018-05-23 00:12:15

WARNING in configuration

The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.

You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/

ERROR in Entry module not found: Error: Can't resolve './src' in '/Users/junobang/DevProject/BookMark_electron'

npm ERR! code ELIFECYCLE

npm ERR! errno 2

npm ERR! bookmark-electron@0.0.0 build: webpack

npm ERR! Exit status 2

npm ERR!

npm ERR! Failed at the bookmark-electron@0.0.0 build 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! /Users/junobang/.npm/_logs/2018-05-22T15_12_15_291Z-debug.log

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!