Installing Brig
Solved
3rd Party Software
-
Hi,
I trying to install and test Brig - https://www.npmjs.com/package/brigbut lot of got errors like this :
npm install brig
tar: Frameworks/Qt3DCore.framework/Qt3DCore: Cannot create symlink to ‘Versions/Current/Qt3DCore’: No such file or directory tar: Frameworks/Qt3DCore.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory tar: Frameworks/Qt3DQuick.framework/Qt3DQuick: Cannot create symlink to ‘Versions/Current/Qt3DQuick’: No such file or directory tar: Frameworks/Qt3DQuick.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory [....] npm WARN sample_client1@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! qt-darwin@0.0.4 install: `tar -zxf library.node && rm -fr library.node` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the qt-darwin@0.0.4 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
i found this https://github.com/BrigJS/brig/issues/10
so i downloaded brig from git and Removed qt-darwin dependency in package.json
now if i do
npm install ../brig (to install from local directory)
now i have this errors :
> brig@0.1.17 install C:\users\lagayev.meca\documents\test\testBrig\node_modules\brig > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/BrigJS/brig/releases/download/0.1.17/node-v57-win32-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for brig@0.1.17 and node@8.12.0 (node-v57 ABI, unknown) (falling back to source compile with node-gyp) gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Users\lagayev.MECA\AppData\Local\Programs\Python\Python36-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:276:12) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at maybeClose (internal/child_process.js:915:16) gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:336:11) gyp ERR! stack at emitOne (events.js:116:13) gyp ERR! stack at Socket.emit (events.js:211:7) gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:561:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\users\\lagayev.meca\\documents\\test\\testBrig\\node_modules\\brig\\native\\node-v57-win32-x64\\brig.node" "--module_name=brig" "--module_path=C:\\users\\lagayev.meca\\documents\\test\\testBrig\\node_modules\\brig\\native\\node-v57-win32-x64" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v57" gyp ERR! cwd C:\users\lagayev.meca\documents\test\testBrig\node_modules\brig gyp ERR! node -v v8.12.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\users\lagayev.meca\documents\test\testBrig\node_modules\brig\native\node-v57-win32-x64\brig.node --module_name=brig --module_path=C:\users\lagayev.meca\documents\test\testBrig\node_modules\brig\native\node-v57-win32-x64 --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\users\lagayev.meca\documents\brig\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at emitTwo (events.js:126:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) node-pre-gyp ERR! System Windows_NT 6.1.7601 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\lagayev.MECA\\Documents\\test\\TestBrig\\node_modules\\brig\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\users\lagayev.meca\documents\test\testBrig\node_modules\brig node-pre-gyp ERR! node -v v8.12.0 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\users\lagayev.meca\documents\test\testBrig\node_modules\brig\native\node-v57-win32-x64\brig.node --module_name=brig --module_path=C:\users\lagayev.meca\documents\test\testBrig\node_modules\brig\native\node-v57-win32-x64 --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1) npm WARN sample_client1@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! brig@0.1.17 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the brig@0.1.17 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Does someone know what i'm doing wrong please ?
-
I'd recommend you get in touch with Brig author. Looks like an issue in Brig itself. Perhaps it was only developed/ tested on macOS?
-
@LeLev said in Installing Brig:
@sierdzio i think this is only for Linux and Mac
Why do you try on Windows then? :D