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

error - yarn install #1926

Closed
richsmith123 opened this issue Jul 25, 2020 · 13 comments
Closed

error - yarn install #1926

richsmith123 opened this issue Jul 25, 2020 · 13 comments
Labels
Bugs Bug reported, reproducible, and verified.

Comments

@richsmith123
Copy link

I download latest version from the website. Installed NODE.js (12.18.3 LTS) then installed YARN (1.22.4).

Ran: yarn config set workspaces-experimental true with success.
When tried to run yarn install, got following error. Screen shot attached.

C:\Viewers-master\yarn install
yarn install v1.22.4
$ yarn lerna:restore
yarn run v1.22.4
$ [ $NETLIFY_RESTORE = 1 ] && ./netlify-lerna-restore.sh || :
'[' is not recognized as an internal or external command,
operable program or batch file.
':' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

error
Please let me know how to fix this?

Thank you so much!

@swederik
Copy link
Member

swederik commented Jul 25, 2020 via email

@richsmith123
Copy link
Author

ha..ha..no worries. thank you for the quick reply.

I look forward to this fix.

Best regards,

@richsmith123
Copy link
Author

Hello,

Is there any quick fix to this issue? Maybe I need to wait until new code changes is applied...thought?

Thank you!

@PoyangLiu
Copy link

@richsmith123 , I just remove the "preinstall": "yarn lerna:restore" line for now until the core team do a proper fix.

@richsmith123
Copy link
Author

Thank you so much for quick reply!

Let me try this...

Best regards,

@richsmith123
Copy link
Author

Sorry Jay, which file do you remove "preinstall": "yarn lerna:restore" this line from?

Thank you!

@PoyangLiu
Copy link

The package.json at the root of the repo.

@richsmith123
Copy link
Author

Got it.

Appreciate very much for your assistance and quick response.

Best regards,

@dannyrb
Copy link
Member

dannyrb commented Aug 12, 2020

Long-term, the npm scripts need to be updated to work cross-platform. Short-term, @PoyangLiu's advice works well for local builds 👍

@dannyrb dannyrb added Bugs Bug reported, reproducible, and verified. and removed Awaiting Reproduction labels Aug 12, 2020
@tbui2020
Copy link

#Viewers-IDC-1958. (I tried the Master and it got the same error)

I got the same error. Followed @PoyangLiu's advice to remove "yarn lerna:restore". It then gave error on python. I installed python 3.8.5 for windows and tried again. And here's my error log.
I need help please.

PS C:\Viewers-IDC-1958> yarn install yarn install v1.22.4
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.8.4"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.9.6"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@7.1.2"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.6.0"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@7.6.0"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.6.3"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.7.2"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.8.7"
[3/5] Fetching packages...
info fsevents@1.2.9: The platform "win32" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.1: The platform "win32" is incompatible with this module.
info "fsevents@2.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > @percy/cypress@2.2.0" has unmet peer dependency "cypress@^3".
warning " > cypress-file-upload@3.5.3" has unmet peer dependency "cypress@^3.0.0".
warning " > eslint-config-react-app@4.0.1" has unmet peer dependency "@typescript-eslint/eslint-plugin@1.x".
warning " > eslint-config-react-app@4.0.1" has unmet peer dependency "@typescript-eslint/parser@1.x".
warning " > eslint-config-react-app@4.0.1" has incorrect peer dependency "babel-eslint@10.x".
warning " > @ohif/core@2.9.14" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/core@2.9.14" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/core@2.9.14" has unmet peer dependency "cornerstone-wado-image-loader@^3.1.0".
warning " > @ohif/core@2.9.14" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/i18n@0.52.8" has unmet peer dependency "i18next@^17.0.3".
warning " > @ohif/i18n@0.52.8" has unmet peer dependency "i18next-browser-languagedetector@^3.0.1".
warning " > @ohif/i18n@0.52.8" has unmet peer dependency "react-i18next@^10.11.0".
warning " > @ohif/ui@1.5.3" has incorrect peer dependency "@ohif/i18n@^0.2.3".
warning " > @ohif/ui@1.5.3" has unmet peer dependency "i18next@^17.0.3".
warning " > @ohif/ui@1.5.3" has unmet peer dependency "react-i18next@^10.11.0".
warning " > @ohif/extension-cornerstone@2.8.5" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-cornerstone@2.8.5" has incorrect peer dependency "@ohif/ui@^0.50.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "cornerstone-math@^0.1.8".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "cornerstone-wado-image-loader@^3.1.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "hammerjs@^2.0.8".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "react-redux@^6.0.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "react-resize-detector@^3.4.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "redux@^4.0.1".
warning " > @ohif/extension-dicom-html@1.2.4" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-html@1.2.4" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-dicom-html@1.2.4" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-dicom-microscopy@0.51.0" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-p10-downloader@0.1.2" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/extension-dicom-p10-downloader@0.1.2" has unmet peer dependency "dicomweb-client@^0.5.2".
warning " > @ohif/extension-dicom-pdf@1.0.3" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-pdf@1.0.3" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/extension-dicom-pdf@1.0.3" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-dicom-rt@0.2.7" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-rt@0.2.7" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/extension-dicom-rt@0.2.7" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/extension-dicom-rt@0.2.7" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-dicom-rt@0.2.7" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-lesion-tracker@0.2.0" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-lesion-tracker@0.2.0" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-vtk@1.6.10" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-vtk@1.6.10" has incorrect peer dependency "@ohif/i18n@^0.50.0".
warning " > @ohif/extension-vtk@1.6.10" has incorrect peer dependency "@ohif/ui@^0.50.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "cornerstone-wado-image-loader@^3.1.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "i18next@^17.0.3".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "i18next-browser-languagedetector@^3.0.1".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "prop-types@^15.7.2".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "react-i18next@^10.11.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "react-redux@^7.1.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "react-resize-detector@^4.2.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "redux@^4.0.1".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/i18n > react-i18next@10.13.2" has incorrect peer dependency "i18next@>= 17.0.0".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/ui > react-dates@21.2.1" has incorrect peer dependency "react-with-direction@^1.3.1".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/ui > react-transition-group@2.0.0" has incorrect peer dependency "react@^15.0.0".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/ui > react-transition-group@2.0.0" has incorrect peer dependency "react-dom@^15.0.0".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/viewer > vtk.js@11.14.0" has unmet peer dependency "wslink@^0.1.8".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "cornerstone-core@2.3.x".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "cornerstone-math@0.1.x".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "cornerstone-tools@4.x.x".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "cornerstone-wado-image-loader@3.0.x".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "dicom-parser@^1.8.3".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "hammerjs@^2.0.8".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-vtk > react-vtkjs-viewport@0.9.0" has unmet peer dependency "vtk.js@^11.14.0".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/ui > docz-plugin-css > docz-core > react-docgen-typescript-loader@3.7.1" has unmet peer dependency "typescript@*".
[5/5] Building fresh packages...
[6/14] ⠈ styled-components [2/14] ⠈ puppeteer [7/14] ⠈ cypress [4/14] ⠈ husky error C:\Viewers-IDC-1958\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: C:\Viewers-IDC-1958\node_modules\node-sass
Output:
Building: C:\Program Files\nodejs\node.exe C:\Viewers-IDC-1958\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'C:\Viewers-IDC-1958\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@14.7.0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed at getNotFoundError (C:\Viewers-IDC-1958\node_modules\which\which.js:13:12)
gyp verb which failed at F (C:\Viewers-IDC-1958\node_modules\which\which.js:68:19)
gyp verb which failed at E (C:\Viewers-IDC-1958\node_modules\which\which.js:80:29)
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\which\which.js:89:16
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\isexe\index.js:42:5
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqCallback.oncomplete (fs.js:176:21)
gyp verb which failed python2 Error: not found: python2
gyp verb which failed at getNotFoundError (C:\Viewers-IDC-1958\node_modules\which\which.js:13:12)
gyp verb which failed at F (C:\Viewers-IDC-1958\node_modules\which\which.js:68:19)
gyp verb which failed at E (C:\Viewers-IDC-1958\node_modules\which\which.js:80:29)
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\which\which.js:89:16
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\isexe\index.js:42:5
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqCallback.oncomplete (fs.js:176:21) {
gyp verb which failed code: 'ENOENT'
gyp verb which failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which succeeded python C:\Program Files (x86)\Python38-32\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Program Files (x86)\Python38-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", 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:308:12)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at maybeClose (internal/child_process.js:1051:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Viewers-IDC-1958\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Viewers-IDC-1958\node_modules\node-sass
gyp ERR! node -v v14.7.0
PS C:\Viewers-IDC-1958>

@swederik
Copy link
Member

Can you try now? This should be fixed

pieper added a commit to ImagingDataCommons/Viewers that referenced this issue Aug 28, 2020
* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool (OHIF#1984)

* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool

* Fix import of react-vtkjs-viewport to cornerstone-tools path.

* Increase maximum load time of MPR test now we are throttling requests.

* Remove debugger

Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.0
 - @ohif/extension-dicom-rt@0.4.0
 - @ohif/extension-dicom-segmentation@0.4.0
 - @ohif/extension-vtk@1.7.0
 - @ohif/core@2.10.0
 - @ohif/viewer@4.4.0

* fix: Avoid lerna:restore unless we are on Netlify (closes OHIF#1926, OHIF#1996)

* wip

* fix: Fix incorrect command name in Percy test (OHIF#1999)

* perf(stackPrefetch): Added stackPrefetch config with 20 max concurrent requests (OHIF#2000)

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.1
 - @ohif/viewer@4.4.1

* feat: 🎸 Filter/promote multiple series instances (OHIF#1533)

improve filter/promote to be applied on multiple series instances

✅ Closes: 1532

Co-authored-by: Rodolfo Ladeira <rodolfo_radical@hotmail.com>

* chore(release): publish [skip ci]

 - @ohif/viewer@4.5.0

* fix: Updated react-cornerstone-viewport to version 4.0.2 (OHIF#2001)

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.2
 - @ohif/viewer@4.5.1

* fix: 🐛 Fail gracefully on an MPR load error (OHIF#1992)

* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool

* Fix import of react-vtkjs-viewport to cornerstone-tools path.

* Increase maximum load time of MPR test now we are throttling requests.

* fix: 🐛 Fail gracefully on an MPR load error

* Respond to reviewer comments.

* chore(release): publish [skip ci]

 - @ohif/extension-vtk@1.7.1
 - @ohif/viewer@4.5.2

* [IDC-1994] Sort series list by SeriesNumber, and sort by same SeriesNumber by date/time. (OHIF#2010)

* Sort based on SeriesNumber and SeriesDate/SeriesTime.

* Harden, and perform final sort in algorithm if last N entries have the same SeriesNumber.

* Switch to insertion rather than sorting as sorting is too slow. Reimplement low priority sorting into new insertion method.

* Fix local file viewing.

* chore(release): publish [skip ci]

 - @ohif/extension-dicom-html@1.2.5
 - @ohif/extension-dicom-microscopy@0.51.1
 - @ohif/extension-dicom-pdf@1.0.4
 - @ohif/extension-dicom-rt@0.4.1
 - @ohif/extension-dicom-segmentation@0.4.1
 - @ohif/extension-vtk@1.7.2
 - @ohif/core@2.10.1
 - @ohif/viewer@4.5.3

Co-authored-by: James Petts <jamesapetts@gmail.com>
Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>
Co-authored-by: ohif-bot <danny.ri.brown+ohif-bot@gmail.com>
Co-authored-by: Alex Broaddus <alexbroaddus1@gmail.com>
Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
Co-authored-by: ladeirarodolfo <39910206+ladeirarodolfo@users.noreply.github.com>
Co-authored-by: Rodolfo Ladeira <rodolfo_radical@hotmail.com>
pieper pushed a commit to ImagingDataCommons/Viewers that referenced this issue Sep 18, 2020
* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool (OHIF#1984)

* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool

* Fix import of react-vtkjs-viewport to cornerstone-tools path.

* Increase maximum load time of MPR test now we are throttling requests.

* Remove debugger

Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.0
 - @ohif/extension-dicom-rt@0.4.0
 - @ohif/extension-dicom-segmentation@0.4.0
 - @ohif/extension-vtk@1.7.0
 - @ohif/core@2.10.0
 - @ohif/viewer@4.4.0

* fix: Avoid lerna:restore unless we are on Netlify (closes OHIF#1926, OHIF#1996)

* wip

* fix: Fix incorrect command name in Percy test (OHIF#1999)

* perf(stackPrefetch): Added stackPrefetch config with 20 max concurrent requests (OHIF#2000)

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.1
 - @ohif/viewer@4.4.1

* feat: 🎸 Filter/promote multiple series instances (OHIF#1533)

improve filter/promote to be applied on multiple series instances

✅ Closes: 1532

Co-authored-by: Rodolfo Ladeira <rodolfo_radical@hotmail.com>

* chore(release): publish [skip ci]

 - @ohif/viewer@4.5.0

* fix: Updated react-cornerstone-viewport to version 4.0.2 (OHIF#2001)

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.2
 - @ohif/viewer@4.5.1

* fix: 🐛 Fail gracefully on an MPR load error (OHIF#1992)

* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool

* Fix import of react-vtkjs-viewport to cornerstone-tools path.

* Increase maximum load time of MPR test now we are throttling requests.

* fix: 🐛 Fail gracefully on an MPR load error

* Respond to reviewer comments.

* chore(release): publish [skip ci]

 - @ohif/extension-vtk@1.7.1
 - @ohif/viewer@4.5.2

* [IDC-1994] Sort series list by SeriesNumber, and sort by same SeriesNumber by date/time. (OHIF#2010)

* Sort based on SeriesNumber and SeriesDate/SeriesTime.

* Harden, and perform final sort in algorithm if last N entries have the same SeriesNumber.

* Switch to insertion rather than sorting as sorting is too slow. Reimplement low priority sorting into new insertion method.

* Fix local file viewing.

* chore(release): publish [skip ci]

 - @ohif/extension-dicom-html@1.2.5
 - @ohif/extension-dicom-microscopy@0.51.1
 - @ohif/extension-dicom-pdf@1.0.4
 - @ohif/extension-dicom-rt@0.4.1
 - @ohif/extension-dicom-segmentation@0.4.1
 - @ohif/extension-vtk@1.7.2
 - @ohif/core@2.10.1
 - @ohif/viewer@4.5.3

* [IDC-2017] Harden segmentation import to support more SEGs (OHIF#2024)

* fix: 🐛 Upgrade dcmjs version to support more SEGs

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.3
 - @ohif/extension-dicom-html@1.2.6
 - @ohif/extension-dicom-rt@0.4.2
 - @ohif/extension-dicom-segmentation@0.4.2
 - @ohif/extension-vtk@1.7.3
 - @ohif/core@2.10.2
 - @ohif/viewer@4.5.4

* [IDC-1939] Debug Dialog part 1 (OHIF#2011)

* WIP debug dialog

* Rename the p10 downloader extension to debugger extension, add button to toolbar. Deactivate it by default.

* Fix unit tests

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.4
 - @ohif/extension-debugging@0.1.3
 - @ohif/extension-dicom-html@1.2.7
 - @ohif/extension-dicom-microscopy@0.51.2
 - @ohif/extension-dicom-pdf@1.0.5
 - @ohif/extension-dicom-rt@0.4.3
 - @ohif/extension-dicom-segmentation@0.4.3
 - @ohif/extension-lesion-tracker@0.2.1
 - @ohif/extension-vtk@1.7.4
 - @ohif/core@2.10.3
 - @ohif/viewer@4.5.5

* IDC-1532 multiple series search google (OHIF#2026)

* Multiple series search for google cloud adapter.

* Revert IDC config.

* fix: 🐛 Series filtering on multiple series for google

* Revert changes to default config.

* Address reviewers comments.

* Fixed spelling mistakes

* chore(release): publish [skip ci]

 - @ohif/extension-vtk@1.7.5
 - @ohif/core@2.10.4
 - @ohif/viewer@4.5.6

* Split query parameter calls. (OHIF#2035)

* chore(release): publish [skip ci]

 - @ohif/viewer@4.5.7

* [IDC-1672] Highlight SEG segment/ RT structure when click to jump. (OHIF#2034)

* Highlight for RTSTRUCT.

* SEG temp crosshairs.

* Disable RT highlighting for now.

* Remove TODO

* chore(release): publish [skip ci]

 - @ohif/extension-debugging@0.1.4
 - @ohif/extension-dicom-rt@0.4.4
 - @ohif/extension-dicom-segmentation@0.4.4
 - @ohif/viewer@4.5.8

* [IDC-1129] - DICOM Tag Viewer extension (OHIF#2022)

* WIP render top level tags.

* Add drop down to select series.

* Fix errors with type 2 sequences.

* WIP swap instance.

* Fix formatting and make fullscreen.

* Remove debuggers.

* Finish formatting.

* Fix error with double SeriesNumber deconstruction.

* Address reviewer comments.

* chore(release): publish [skip ci]

 - @ohif/extension-dicom-html@1.2.8
 - @ohif/extension-dicom-microscopy@0.51.3
 - @ohif/extension-dicom-pdf@1.0.6
 - @ohif/extension-dicom-rt@0.4.5
 - @ohif/extension-dicom-segmentation@0.4.5
 - @ohif/extension-dicom-tag-browser@0.0.2
 - @ohif/extension-vtk@1.7.6
 - @ohif/core@2.10.5
 - @ohif/ui@1.5.4
 - @ohif/viewer@4.5.9

* [IDC-2006] - optional mailTo for debugging extension. (OHIF#2027)

* WIP debug dialog

* Rename the p10 downloader extension to debugger extension, add button to toolbar. Deactivate it by default.

* Fix unit tests

* WIP

* WIP

* Finish mailTo

* chore(release): publish [skip ci]

 - @ohif/extension-debugging@0.1.5
 - @ohif/extension-vtk@1.7.7
 - @ohif/ui@1.5.5
 - @ohif/viewer@4.5.10

* [IDC-1905] Hover tooltips for Segmentation + RTSTRUCT extension (OHIF#2044)

* WIP debug dialog

* Rename the p10 downloader extension to debugger extension, add button to toolbar. Deactivate it by default.

* Fix unit tests

* WIP

* WIP

* Finish mailTo

* tooltop

Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>
Co-authored-by: ohif-bot <danny.ri.brown+ohif-bot@gmail.com>
Co-authored-by: Alex Broaddus <alexbroaddus1@gmail.com>
Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
Co-authored-by: ladeirarodolfo <39910206+ladeirarodolfo@users.noreply.github.com>
Co-authored-by: Rodolfo Ladeira <rodolfo_radical@hotmail.com>
pieper pushed a commit to ImagingDataCommons/Viewers that referenced this issue Oct 7, 2020
* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool (OHIF#1984)

* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool

* Fix import of react-vtkjs-viewport to cornerstone-tools path.

* Increase maximum load time of MPR test now we are throttling requests.

* Remove debugger

Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.0
 - @ohif/extension-dicom-rt@0.4.0
 - @ohif/extension-dicom-segmentation@0.4.0
 - @ohif/extension-vtk@1.7.0
 - @ohif/core@2.10.0
 - @ohif/viewer@4.4.0

* fix: Avoid lerna:restore unless we are on Netlify (closes OHIF#1926, OHIF#1996)

* wip

* fix: Fix incorrect command name in Percy test (OHIF#1999)

* perf(stackPrefetch): Added stackPrefetch config with 20 max concurrent requests (OHIF#2000)

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.1
 - @ohif/viewer@4.4.1

* feat: 🎸 Filter/promote multiple series instances (OHIF#1533)

improve filter/promote to be applied on multiple series instances

✅ Closes: 1532

Co-authored-by: Rodolfo Ladeira <rodolfo_radical@hotmail.com>

* chore(release): publish [skip ci]

 - @ohif/viewer@4.5.0

* fix: Updated react-cornerstone-viewport to version 4.0.2 (OHIF#2001)

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.2
 - @ohif/viewer@4.5.1

* fix: 🐛 Fail gracefully on an MPR load error (OHIF#1992)

* feat: 🎸 Update react-vtkjs-viewport usage to use requestPool

* Fix import of react-vtkjs-viewport to cornerstone-tools path.

* Increase maximum load time of MPR test now we are throttling requests.

* fix: 🐛 Fail gracefully on an MPR load error

* Respond to reviewer comments.

* chore(release): publish [skip ci]

 - @ohif/extension-vtk@1.7.1
 - @ohif/viewer@4.5.2

* [IDC-1994] Sort series list by SeriesNumber, and sort by same SeriesNumber by date/time. (OHIF#2010)

* Sort based on SeriesNumber and SeriesDate/SeriesTime.

* Harden, and perform final sort in algorithm if last N entries have the same SeriesNumber.

* Switch to insertion rather than sorting as sorting is too slow. Reimplement low priority sorting into new insertion method.

* Fix local file viewing.

* chore(release): publish [skip ci]

 - @ohif/extension-dicom-html@1.2.5
 - @ohif/extension-dicom-microscopy@0.51.1
 - @ohif/extension-dicom-pdf@1.0.4
 - @ohif/extension-dicom-rt@0.4.1
 - @ohif/extension-dicom-segmentation@0.4.1
 - @ohif/extension-vtk@1.7.2
 - @ohif/core@2.10.1
 - @ohif/viewer@4.5.3

* [IDC-2017] Harden segmentation import to support more SEGs (OHIF#2024)

* fix: 🐛 Upgrade dcmjs version to support more SEGs

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.3
 - @ohif/extension-dicom-html@1.2.6
 - @ohif/extension-dicom-rt@0.4.2
 - @ohif/extension-dicom-segmentation@0.4.2
 - @ohif/extension-vtk@1.7.3
 - @ohif/core@2.10.2
 - @ohif/viewer@4.5.4

* [IDC-1939] Debug Dialog part 1 (OHIF#2011)

* WIP debug dialog

* Rename the p10 downloader extension to debugger extension, add button to toolbar. Deactivate it by default.

* Fix unit tests

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.4
 - @ohif/extension-debugging@0.1.3
 - @ohif/extension-dicom-html@1.2.7
 - @ohif/extension-dicom-microscopy@0.51.2
 - @ohif/extension-dicom-pdf@1.0.5
 - @ohif/extension-dicom-rt@0.4.3
 - @ohif/extension-dicom-segmentation@0.4.3
 - @ohif/extension-lesion-tracker@0.2.1
 - @ohif/extension-vtk@1.7.4
 - @ohif/core@2.10.3
 - @ohif/viewer@4.5.5

* IDC-1532 multiple series search google (OHIF#2026)

* Multiple series search for google cloud adapter.

* Revert IDC config.

* fix: 🐛 Series filtering on multiple series for google

* Revert changes to default config.

* Address reviewers comments.

* Fixed spelling mistakes

* chore(release): publish [skip ci]

 - @ohif/extension-vtk@1.7.5
 - @ohif/core@2.10.4
 - @ohif/viewer@4.5.6

* Split query parameter calls. (OHIF#2035)

* chore(release): publish [skip ci]

 - @ohif/viewer@4.5.7

* [IDC-1672] Highlight SEG segment/ RT structure when click to jump. (OHIF#2034)

* Highlight for RTSTRUCT.

* SEG temp crosshairs.

* Disable RT highlighting for now.

* Remove TODO

* chore(release): publish [skip ci]

 - @ohif/extension-debugging@0.1.4
 - @ohif/extension-dicom-rt@0.4.4
 - @ohif/extension-dicom-segmentation@0.4.4
 - @ohif/viewer@4.5.8

* [IDC-1129] - DICOM Tag Viewer extension (OHIF#2022)

* WIP render top level tags.

* Add drop down to select series.

* Fix errors with type 2 sequences.

* WIP swap instance.

* Fix formatting and make fullscreen.

* Remove debuggers.

* Finish formatting.

* Fix error with double SeriesNumber deconstruction.

* Address reviewer comments.

* chore(release): publish [skip ci]

 - @ohif/extension-dicom-html@1.2.8
 - @ohif/extension-dicom-microscopy@0.51.3
 - @ohif/extension-dicom-pdf@1.0.6
 - @ohif/extension-dicom-rt@0.4.5
 - @ohif/extension-dicom-segmentation@0.4.5
 - @ohif/extension-dicom-tag-browser@0.0.2
 - @ohif/extension-vtk@1.7.6
 - @ohif/core@2.10.5
 - @ohif/ui@1.5.4
 - @ohif/viewer@4.5.9

* [IDC-2006] - optional mailTo for debugging extension. (OHIF#2027)

* WIP debug dialog

* Rename the p10 downloader extension to debugger extension, add button to toolbar. Deactivate it by default.

* Fix unit tests

* WIP

* WIP

* Finish mailTo

* chore(release): publish [skip ci]

 - @ohif/extension-debugging@0.1.5
 - @ohif/extension-vtk@1.7.7
 - @ohif/ui@1.5.5
 - @ohif/viewer@4.5.10

* [IDC-1905] Hover tooltips for Segmentation + RTSTRUCT extension (OHIF#2044)

* WIP debug dialog

* Rename the p10 downloader extension to debugger extension, add button to toolbar. Deactivate it by default.

* Fix unit tests

* WIP

* WIP

* Finish mailTo

* tooltop

* chore(release): publish [skip ci]

 - @ohif/extension-dicom-rt@0.4.6
 - @ohif/extension-dicom-segmentation@0.4.6
 - @ohif/viewer@4.5.11

* [IDC-2049] Sort Tags in Tag browser split items in sequences, add indent after space. (OHIF#2053)

* Sort tag browser, add items, add indent.

* Remove debugger.

* chore(release): publish [skip ci]

 - @ohif/extension-dicom-tag-browser@0.0.3
 - @ohif/viewer@4.5.12

* Update react-cornerstone-viewport for performance improvements (OHIF#2062)

* Update react-cornerstone-viewport

* Bump react-cornerstone-viewport version.

* Comment out tests which always cause problems.

* chore(release): publish [skip ci]

 - @ohif/extension-cornerstone@2.9.5
 - @ohif/viewer@4.5.13

* [IDC-2052] PWA start url (OHIF#2070)

Change start_url in manifest.json from "./index.html" to "./"

Co-authored-by: Woonchan Cho <wcho24@wustl.edu>

* chore(release): publish [skip ci]

 - @ohif/viewer@4.5.14

* fix: Enable port changes for Docker image using the PORT variable (OHIF#2016)

* fix: use SeriesMetadata method instead of property in findMostRecentStructuredReport (OHIF#2038)

fixes OHIF#1714

Call getInstanceCount() instead of manually checking length (which does not work)

Co-authored-by: Stefan Silviu <silviu.stefan@ab4.systems>

* chore(release): publish [skip ci]

 - @ohif/extension-vtk@1.7.8
 - @ohif/core@2.10.6
 - @ohif/viewer@4.5.15

Co-authored-by: Erik Ziegler <erik.sweed@gmail.com>
Co-authored-by: ohif-bot <danny.ri.brown+ohif-bot@gmail.com>
Co-authored-by: Alex Broaddus <alexbroaddus1@gmail.com>
Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
Co-authored-by: ladeirarodolfo <39910206+ladeirarodolfo@users.noreply.github.com>
Co-authored-by: Rodolfo Ladeira <rodolfo_radical@hotmail.com>
Co-authored-by: Woonchan Cho <cronus17@gmail.com>
Co-authored-by: Woonchan Cho <wcho24@wustl.edu>
Co-authored-by: Nicolas Byl <nico@nicolas-byl.eu>
Co-authored-by: Ștefan Silviu-Alexandru <sylviu44@gmail.com>
Co-authored-by: Stefan Silviu <silviu.stefan@ab4.systems>
@taijizhao
Copy link

#Viewers-IDC-1958. (I tried the Master and it got the same error)

I got the same error. Followed @PoyangLiu's advice to remove "yarn lerna:restore". It then gave error on python. I installed python 3.8.5 for windows and tried again. And here's my error log.
I need help please.

PS C:\Viewers-IDC-1958> yarn install yarn install v1.22.4
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.8.4"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.9.6"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@7.1.2"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.6.0"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@7.6.0"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.6.3"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.7.2"
warning Resolution field "@babel/runtime@7.5.5" is incompatible with requested version "@babel/runtime@^7.8.7"
[3/5] Fetching packages...
info fsevents@1.2.9: The platform "win32" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.1: The platform "win32" is incompatible with this module.
info "fsevents@2.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > @percy/cypress@2.2.0" has unmet peer dependency "cypress@^3".
warning " > cypress-file-upload@3.5.3" has unmet peer dependency "cypress@^3.0.0".
warning " > eslint-config-react-app@4.0.1" has unmet peer dependency "@typescript-eslint/eslint-plugin@1.x".
warning " > eslint-config-react-app@4.0.1" has unmet peer dependency "@typescript-eslint/parser@1.x".
warning " > eslint-config-react-app@4.0.1" has incorrect peer dependency "babel-eslint@10.x".
warning " > @ohif/core@2.9.14" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/core@2.9.14" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/core@2.9.14" has unmet peer dependency "cornerstone-wado-image-loader@^3.1.0".
warning " > @ohif/core@2.9.14" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/i18n@0.52.8" has unmet peer dependency "i18next@^17.0.3".
warning " > @ohif/i18n@0.52.8" has unmet peer dependency "i18next-browser-languagedetector@^3.0.1".
warning " > @ohif/i18n@0.52.8" has unmet peer dependency "react-i18next@^10.11.0".
warning " > @ohif/ui@1.5.3" has incorrect peer dependency "@ohif/i18n@^0.2.3".
warning " > @ohif/ui@1.5.3" has unmet peer dependency "i18next@^17.0.3".
warning " > @ohif/ui@1.5.3" has unmet peer dependency "react-i18next@^10.11.0".
warning " > @ohif/extension-cornerstone@2.8.5" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-cornerstone@2.8.5" has incorrect peer dependency "@ohif/ui@^0.50.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "cornerstone-math@^0.1.8".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "cornerstone-wado-image-loader@^3.1.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "hammerjs@^2.0.8".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "react-redux@^6.0.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "react-resize-detector@^3.4.0".
warning " > @ohif/extension-cornerstone@2.8.5" has unmet peer dependency "redux@^4.0.1".
warning " > @ohif/extension-dicom-html@1.2.4" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-html@1.2.4" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-dicom-html@1.2.4" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-dicom-microscopy@0.51.0" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-p10-downloader@0.1.2" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/extension-dicom-p10-downloader@0.1.2" has unmet peer dependency "dicomweb-client@^0.5.2".
warning " > @ohif/extension-dicom-pdf@1.0.3" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-pdf@1.0.3" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/extension-dicom-pdf@1.0.3" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-dicom-rt@0.2.7" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-rt@0.2.7" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/extension-dicom-rt@0.2.7" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/extension-dicom-rt@0.2.7" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-dicom-rt@0.2.7" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-dicom-segmentation@0.3.4" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-lesion-tracker@0.2.0" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-lesion-tracker@0.2.0" has unmet peer dependency "prop-types@^15.6.2".
warning " > @ohif/extension-vtk@1.6.10" has incorrect peer dependency "@ohif/core@^0.50.0".
warning " > @ohif/extension-vtk@1.6.10" has incorrect peer dependency "@ohif/i18n@^0.50.0".
warning " > @ohif/extension-vtk@1.6.10" has incorrect peer dependency "@ohif/ui@^0.50.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "cornerstone-core@^2.2.8".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "cornerstone-tools@4.15.1".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "cornerstone-wado-image-loader@^3.1.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "dcmjs@0.16.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "dicom-parser@^1.8.3".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "i18next@^17.0.3".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "i18next-browser-languagedetector@^3.0.1".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "prop-types@^15.7.2".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "react-i18next@^10.11.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "react-redux@^7.1.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "react-resize-detector@^4.2.0".
warning " > @ohif/extension-vtk@1.6.10" has unmet peer dependency "redux@^4.0.1".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/i18n > react-i18next@10.13.2" has incorrect peer dependency "i18next@>= 17.0.0".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/ui > react-dates@21.2.1" has incorrect peer dependency "react-with-direction@^1.3.1".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/ui > react-transition-group@2.0.0" has incorrect peer dependency "react@^15.0.0".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/ui > react-transition-group@2.0.0" has incorrect peer dependency "react-dom@^15.0.0".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/viewer > vtk.js@11.14.0" has unmet peer dependency "wslink@^0.1.8".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "cornerstone-core@2.3.x".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "cornerstone-math@0.1.x".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "cornerstone-tools@4.x.x".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "cornerstone-wado-image-loader@3.0.x".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "dicom-parser@^1.8.3".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-cornerstone > react-cornerstone-viewport@4.0.1" has unmet peer dependency "hammerjs@^2.0.8".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/extension-vtk > react-vtkjs-viewport@0.9.0" has unmet peer dependency "vtk.js@^11.14.0".
warning "workspace-aggregator-2c05957e-2802-4fd1-b803-bef69c590bdc > @ohif/ui > docz-plugin-css > docz-core > react-docgen-typescript-loader@3.7.1" has unmet peer dependency "typescript@*".
[5/5] Building fresh packages...
[6/14] ⠈ styled-components [2/14] ⠈ puppeteer [7/14] ⠈ cypress [4/14] ⠈ husky error C:\Viewers-IDC-1958\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: C:\Viewers-IDC-1958\node_modules\node-sass
Output:
Building: C:\Program Files\nodejs\node.exe C:\Viewers-IDC-1958\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'C:\Viewers-IDC-1958\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@14.7.0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed at getNotFoundError (C:\Viewers-IDC-1958\node_modules\which\which.js:13:12)
gyp verb which failed at F (C:\Viewers-IDC-1958\node_modules\which\which.js:68:19)
gyp verb which failed at E (C:\Viewers-IDC-1958\node_modules\which\which.js:80:29)
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\which\which.js:89:16
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\isexe\index.js:42:5
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqCallback.oncomplete (fs.js:176:21)
gyp verb which failed python2 Error: not found: python2
gyp verb which failed at getNotFoundError (C:\Viewers-IDC-1958\node_modules\which\which.js:13:12)
gyp verb which failed at F (C:\Viewers-IDC-1958\node_modules\which\which.js:68:19)
gyp verb which failed at E (C:\Viewers-IDC-1958\node_modules\which\which.js:80:29)
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\which\which.js:89:16
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\isexe\index.js:42:5
gyp verb which failed at C:\Viewers-IDC-1958\node_modules\isexe\windows.js:36:5
gyp verb which failed at FSReqCallback.oncomplete (fs.js:176:21) {
gyp verb which failed code: 'ENOENT'
gyp verb which failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which succeeded python C:\Program Files (x86)\Python38-32\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Program Files (x86)\Python38-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", 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:308:12)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at maybeClose (internal/child_process.js:1051:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Viewers-IDC-1958\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Viewers-IDC-1958\node_modules\node-sass
gyp ERR! node -v v14.7.0
PS C:\Viewers-IDC-1958>

Hi, @tbui2020 , I have got exactly the same problem as yours. Have you managed to solve it? Thank you very much!

@PoyangLiu
Copy link

@taijizhao , your problem is not specific to OHIF, but a problem with downloading and building node-sass on your platform.
I saw this problem when working on another non-OHIF project a year or two ago on a Windows PC. It may be a mismatch between node.js version and the node-sass version that OHIF uses.

You'll have to google for a solution. One thing I tried in the past was to clear the node_modules, then manually install and rebuild node-sass. Once that worked, then npm install the rest of the OHIF dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bug reported, reproducible, and verified.
Projects
None yet
Development

No branches or pull requests

6 participants