Open idkjs opened 6 years ago
not sure if this is a separate issue
node 10.1.0, 64 bit win 10
npm install
fails
C:\Users\Dell\source\reasonml\reason-react-tictactoe\node_modules\bs-platform\jscomp\others>cd ..
Installing
C:\Users\Dell\source\reasonml\reason-react-tictactoe\node_modules\bs-platform\jscomp\runtime\block.cmj -----> C:\Users\Dell\source\reasonml\reason-react-tictactoe\node_modules\bs-platform\lib\ocaml\block.cmj
fs.js:148
throw new ERR_INVALID_CALLBACK();
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at makeCallback (fs.js:148:11)
at Object.fs.rename (fs.js:694:14)
at renameAsync (C:\Users\Dell\source\reasonml\reason-react-tictactoe\node_modules\bs-platform\scripts\build_util.js:34:8)
at C:\Users\Dell\source\reasonml\reason-react-tictactoe\node_modules\bs-platform\scripts\build_util.js:94:6
at Array.forEach (<anonymous>)
at Object.install (C:\Users\Dell\source\reasonml\reason-react-tictactoe\node_modules\bs-platform\scripts\build_util.js:82:11)
at Object.<anonymous> (C:\Users\Dell\source\reasonml\reason-react-tictactoe\node_modules\bs-platform\scripts\install.js:135:20)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
If you download, npm install, npm run build, the project doesn't run. Just an FYI, I was trying to understand glamor in reason. Are you aware of any other examples?