알뜰살뜰 정보

Error: Could not locate the bindings file 에러

쉬고싶은 거북이 2019. 7. 23. 15:42
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
 
c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\bindings\bindings.js:135
  throw err;
  ^
 
Error: Could not locate the bindings file. Tried:
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\build\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\build\Debug\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\build\Release\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\out\Debug\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\Debug\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\out\Release\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\Release\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\build\default\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\compiled\10.16.0\win32\x64\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\addon-build\release\install-root\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\addon-build\debug\install-root\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\addon-build\default\install-root\bindings.node
 → c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\lib\binding\node-v64-win32-x64\bindings.node
    at bindings (c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\bindings\bindings.js:126:9)
    at Object.<anonymous> (c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\lib\win32.js:1:36)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:690:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (c:\Users\admin\eclipse-workspace\NodeJS-R200-RTU\node_modules\@serialport\bindings\lib\index.js:6:22)
 
cs

Error: Could not locate the bindings file. Tried: 에러


Node js 모듈 설치 문제다.

그냥 오류나는 프로젝트 파일 들어가서 node_modules 파일을 지우고 npm install로 다시 깔자