2016-08-24 7 views
0

꿀꺽 거리는 동안이 오류가 발생했습니다. 이미 babel-register이 설치되어 있습니다.'_baseIsRegExp'모듈을 찾을 수 없습니다

[18:51:21] Requiring external module babel-register 
    module.js:327 
     throw err; 
     ^

    Error: Cannot find module './_baseIsRegExp' 
     at Function.Module._resolveFilename (module.js:325:15) 
     at Function.Module._load (module.js:276:25) 
     at Module.require (module.js:353:17) 
     at require (internal/module.js:12:17) 
     at Object.<anonymous> (D:\ndbsite\src\NdbSite.UI\node_modules\babel-plugin-transform-class-properties\node_modules\babel-helper-function-name\node_modules\babel-types\node_modules\lodash\isRegExp.js:1:82) 
     at Module._compile (module.js:409:26) 
     at Module._extensions..js (module.js:416:10) 
     at Object.require.extensions.(anonymous function) [as .js] (D:\ndbsite\src\NdbSite.UI\node_modules\babel-register\lib\node.js:156:7) 
     at Module.load (module.js:343:32) 
     at Function.Module._load (module.js:300:12) 

것 같습니다. 일부 패키지가 누락되었습니다. 그것을 찾는 방법을 모릅니다. 도와주세요. 코멘트에서 @loganfsmyth에 의해 제안

enter image description here

+0

는 삭제하고'node_modules' 다시 설치 시도 유무 :

해상도 rimraf를 사용하여 기존 폴더를 삭제 한 다음 NPM 새로운 노드 & NPM에 설치하는 것입니다? 설치가 실패하지 않는 한 파일이 누락 될 이유는 없습니다. – loganfsmyth

+0

시도했지만 여전히 동일 –

+1

'npm' v3을 사용하고 있습니까? 긴 파일 경로가 주어지면 그렇지 않은 것처럼 보입니다. 나는 그것으로 업그레이 드하고 다시 설치하려고합니다. – loganfsmyth

답변

1

나는 때문에 다른 모듈 내부에 참조 된 패키지의 직면 한 문제는 를 업데이트되지 않았습니다. 노드 & npm을 업데이트했습니다. 오래된 패키지가 계층 구조 내에서 업데이트되지 않았기 때문에 여전히 문제가 발생합니다.

npm install rimraf -g 

rimraf node_modules 

npm install 
관련 문제