Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt-darwin Causing Issues on Windows #10

Open
devmattrick opened this issue Oct 2, 2017 · 2 comments
Open

qt-darwin Causing Issues on Windows #10

devmattrick opened this issue Oct 2, 2017 · 2 comments
Labels

Comments

@devmattrick
Copy link

Hi there!

When running the install script for qt-darwin, which is a dependency of brig, it errors due to being unable to extract the files using tar. I believe this could be remedied by making qt-darwin an optional dependency to only install on MacOS systems. Here is the npm output:

$ npm install brig

> qt-darwin@0.0.4 install D:\Matthew\Documents\Projects\QtTest\node_modules\qt-darwin
> tar -zxf library.node && rm -fr library.node

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
tar: Frameworks/QtBluetooth.framework/QtBluetooth: Cannot create symlink to ‘Versions/Current/QtBluetooth’: No such file or directory
tar: Frameworks/QtBluetooth.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtCharts.framework/QtCharts: Cannot create symlink to ‘Versions/Current/QtCharts’: No such file or directory
tar: Frameworks/QtCharts.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtConcurrent.framework/QtConcurrent: Cannot create symlink to ‘Versions/Current/QtConcurrent’: No such file or directory
tar: Frameworks/QtConcurrent.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtCore.framework/QtCore: Cannot create symlink to ‘Versions/Current/QtCore’: No such file or directory
tar: Frameworks/QtCore.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtDataVisualization.framework/QtDataVisualization: Cannot create symlink to ‘Versions/Current/QtDataVisualization’: No such file or directory
tar: Frameworks/QtDataVisualization.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtGui.framework/QtGui: Cannot create symlink to ‘Versions/Current/QtGui’: No such file or directory
tar: Frameworks/QtGui.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtMultimedia.framework/QtMultimedia: Cannot create symlink to ‘Versions/Current/QtMultimedia’: No such file or directory
tar: Frameworks/QtMultimedia.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtMultimediaQuick_p.framework/QtMultimediaQuick_p: Cannot create symlink to ‘Versions/Current/QtMultimediaQuick_p’: No such file or directory
tar: Frameworks/QtMultimediaQuick_p.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtMultimediaWidgets.framework/QtMultimediaWidgets: Cannot create symlink to ‘Versions/Current/QtMultimediaWidgets’: No such file or directory
tar: Frameworks/QtMultimediaWidgets.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtNetwork.framework/QtNetwork: Cannot create symlink to ‘Versions/Current/QtNetwork’: No such file or directory
tar: Frameworks/QtNetwork.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtOpenGL.framework/QtOpenGL: Cannot create symlink to ‘Versions/Current/QtOpenGL’: No such file or directory
tar: Frameworks/QtOpenGL.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtPositioning.framework/QtPositioning: Cannot create symlink to ‘Versions/Current/QtPositioning’: No such file or directory
tar: Frameworks/QtPositioning.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtPrintSupport.framework/QtPrintSupport: Cannot create symlink to ‘Versions/Current/QtPrintSupport’: No such file or directory
tar: Frameworks/QtPrintSupport.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQml.framework/QtQml: Cannot create symlink to ‘Versions/Current/QtQml’: No such file or directory
tar: Frameworks/QtQml.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQuick.framework/QtQuick: Cannot create symlink to ‘Versions/Current/QtQuick’: No such file or directory
tar: Frameworks/QtQuick.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQuickControls2.framework/QtQuickControls2: Cannot create symlink to ‘Versions/Current/QtQuickControls2’: No such file or directory
tar: Frameworks/QtQuickControls2.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQuickParticles.framework/QtQuickParticles: Cannot create symlink to ‘Versions/Current/QtQuickParticles’: No such file or directory
tar: Frameworks/QtQuickParticles.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtQuickTemplates2.framework/QtQuickTemplates2: Cannot create symlink to ‘Versions/Current/QtQuickTemplates2’: No such file or directory
tar: Frameworks/QtQuickTemplates2.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtSensors.framework/QtSensors: Cannot create symlink to ‘Versions/Current/QtSensors’: No such file or directory
tar: Frameworks/QtSensors.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtSql.framework/QtSql: Cannot create symlink to ‘Versions/Current/QtSql’: No such file or directory
tar: Frameworks/QtSql.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebChannel.framework/QtWebChannel: Cannot create symlink to ‘Versions/Current/QtWebChannel’: No such file or directory
tar: Frameworks/QtWebChannel.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebEngine.framework/QtWebEngine: Cannot create symlink to ‘Versions/Current/QtWebEngine’: No such file or directory
tar: Frameworks/QtWebEngine.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebEngineCore.framework/Helpers: Cannot create symlink to ‘Versions/Current/Helpers’: No such file or directory
tar: Frameworks/QtWebEngineCore.framework/Libraries: Cannot create symlink to ‘Versions/Current/Libraries’: No such file or directory
tar: Frameworks/QtWebEngineCore.framework/QtWebEngineCore: Cannot create symlink to ‘Versions/Current/QtWebEngineCore’: No such file or directory
tar: Frameworks/QtWebEngineCore.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebSockets.framework/QtWebSockets: Cannot create symlink to ‘Versions/Current/QtWebSockets’: No such file or directory
tar: Frameworks/QtWebSockets.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWebView.framework/QtWebView: Cannot create symlink to ‘Versions/Current/QtWebView’: No such file or directory
tar: Frameworks/QtWebView.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtWidgets.framework/QtWidgets: Cannot create symlink to ‘Versions/Current/QtWidgets’: No such file or directory
tar: Frameworks/QtWidgets.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Frameworks/QtXmlPatterns.framework/QtXmlPatterns: Cannot create symlink to ‘Versions/Current/QtXmlPatterns’: No such file or directory
tar: Frameworks/QtXmlPatterns.framework/Resources: Cannot create symlink to ‘Versions/Current/Resources’: No such file or directory
tar: Exiting with failure status due to previous errors

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.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Matthew\AppData\Roaming\npm-cache\_logs\2017-10-02T03_43_05_587Z-debug.log
@cfsghost
Copy link
Collaborator

cfsghost commented Oct 2, 2017

qt-darwin module should be installed only for Mac OS:
https://github.com/BrigJS/brig/blob/master/setup.js

I think it has problem because there is incorrect dependencies settings in package.json

Let me check it.

@cfsghost cfsghost added the bug label Oct 2, 2017
@Kakadu
Copy link

Kakadu commented Oct 3, 2018

By some reason qt-darwin is being downloaded on GNU/Linux too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants