Open kerspoon opened 4 years ago
I got it running on windows, I used nodist (https://github.com/nullivex/nodist) to install version 10 nodist global 10.x
made sure the npm version matched nodist npm global match
deleted the node_modules folder, then ran npm install
.
$ node --version
v10.20.1
$ npm --version
6.14.4
I still get dozens of warnings and one error (error below)
c:\users\name\chalktalk\server\node_modules\utf-8-validate\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: 'ForceSet': is not a member of 'v8::Object' (compiling source file ..\src\validation.cc) [C:\Users\name\chalktalk\server\node_modules\utf-8-validate\build\validation.vcxproj]
c:\users\name\appdata\local\node-gyp\cache\10.20.1\include\node\v8.h(3243): note: see declaration of 'v8::Object' (compiling source file ..\src\validation.cc)
If you try to install with node 12 you get a lot of errors like:
~\chalktalk\server\node_modules\bufferutil\src\bufferutil.cc(25): error C2039: 'Handle': is not a member of 'v8'
Seems to be
utf-8-validate
andbufferutil
causing the problem.Looks like a similar error to https://github.com/nodejs/node-gyp/issues/1804#issuecomment-507955940
Might be worth upgrading these packages or just putting a note in the install page on the wiki.