반응형
node 로 컴파일을 하다보면은 npm ERR! code ELIFECYCLE 에러가 발생하는 경우가 있다
npm cash를 삭제하고, node_modules과 package-lock.json 을 삭제하고
npm을 다시 설치 해주면 된다고 한다.
step1 clean npm cache
$npm cache clean --force
step2 Delete Node Module and package-lock.json
$rm -rf node_module ( rmdir /S /Q node_modules -> windows )
step3 npm install
npm install
step4
$npm start
반응형
'개발하면서' 카테고리의 다른 글
JEUS8 Spring SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder". (1) | 2022.11.30 |
---|---|
Spring Boot Quartz There is no DataSource named 'xxxxxDataSource' (0) | 2022.05.04 |
Node.js, NPM (Node Package Manager) 설치하기 (0) | 2022.03.08 |
Eclipse에서 Mybatis Generator 사용하기 (0) | 2021.08.28 |
Maven Ojdbc6 Dependency 설정 (0) | 2021.06.11 |