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

Local installation does not work #520

Open
robertzeibich opened this issue Oct 18, 2024 · 1 comment
Open

Local installation does not work #520

robertzeibich opened this issue Oct 18, 2024 · 1 comment

Comments

@robertzeibich
Copy link

robertzeibich commented Oct 18, 2024

image

1. Created conda env
module load miniforge3/24.3.0-0
mamba create -n scope python=3.7.4 nodejs=10.13.0 # recommended versions
#mamba create -n scope_test 'python==3.6.2' 'nodejs>=9'
mamba activate scope_test
cd SCope/

2. Installation
(scope) [rzei0002@m3-login3 SCope]$ npm install

[email protected] preinstall /fs04/xm41/robert/tools/SCope
npm i shelljs command-exists && node bin/install.js

[email protected] install /fs04/xm41/robert/tools/SCope/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download
[grpc] Success: "/fs04/xm41/robert/tools/SCope/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node" is installed via remote

[email protected] install /fs04/xm41/robert/tools/SCope/node_modules/grpc-tools
node-pre-gyp install

node-pre-gyp WARN Using request for node-pre-gyp https download
[grpc-tools] Success: "/fs04/xm41/robert/tools/SCope/node_modules/grpc-tools/bin/grpc_tools.node" is installed via remote

[email protected] postinstall /fs04/xm41/robert/tools/SCope/node_modules/@babel/node/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall /fs04/xm41/robert/tools/SCope/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

[email protected] postinstall /fs04/xm41/robert/tools/SCope/node_modules/grpc-loader/node_modules/protobufjs
node scripts/postinstall

[email protected] postinstall /fs04/xm41/robert/tools/SCope/node_modules/protobufjs
node scripts/postinstall

npm WARN grpc-bus-websocket-server@file:opt/scopeserver/bindserver had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

  • [email protected]
  • [email protected]
    added 1487 packages from 1346 contributors and audited 1507 packages in 65.082s
    found 212 vulnerabilities (16 low, 54 moderate, 122 high, 20 critical)
    run npm audit fix to fix them, or npm audit for details
    Installing SCope Bind Server

[email protected] install /fs04/xm41/robert/tools/SCope/opt/scopeserver/bindserver/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download
[grpc] Success: "/fs04/xm41/robert/tools/SCope/opt/scopeserver/bindserver/node_modules/grpc/src/node/extension_binary/node-v64-linux-x64-glibc/grpc_node.node" is installed via remote
added 94 packages from 103 contributors and audited 96 packages in 10.309s
found 13 vulnerabilities (1 moderate, 10 high, 2 critical)
run npm audit fix to fix them, or npm audit for details
The poetry program does not exist. Abort. Please install it.

[email protected] postinstall /fs04/xm41/robert/tools/SCope
node bin/configure.js

Configuring SCope...
/fs04/xm41/robert/tools/SCope/assets directory created.
SCope ready for 'npm run dev' or 'npm run build'
npm WARN [email protected] had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.
npm WARN [email protected] requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of protobufjs@~6.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^15.4.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

removed 76 packages, updated 1 package and audited 1506 packages in 95.959s
found 210 vulnerabilities (16 low, 53 moderate, 121 high, 20 critical)
run npm audit fix to fix them, or npm audit for details
(scope) [rzei0002@m3-login3 SCope]$ npm run dev

[email protected] dev /fs04/xm41/robert/tools/SCope
cross-env NODE_ENV=development NODE_TYPE=local webpack-dev-server --hot

{ debug: true,
publicHostAddress: '127.0.0.1',
localHostAddress: '127.0.0.1',
httpProtocol: 'http',
wsProtocol: 'ws',
mPort: 55850,
pPort: 55851,
xPort: 55852,
gPort: 55853,
reverseProxyOn: false,
orcidAPIClientID: '',
orcidAPIClientSecret: '',
orcidAPIRedirectURI: '',
dataHashSecret: '',
data: '' }
Changed output.filename to SCope-1.8.2.9ae5207.js
Changed output.chunkFilename to SCope-chunk.9ae5207.js
Starting type checking service...
(node:1100192) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead
ℹ 「wds」: Project is running at http://0.0.0.0:55850/
ℹ 「wds」: webpack output is served from /assets/
ℹ 「wds」: Content not from webpack is served from /fs04/xm41/robert/tools/SCope
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Cleaning up Webpack files; skipping [githash]: 9ae5207
No type errors found
Version: typescript 3.9.9
Time: 15320 ms
ℹ 「wdm」: Hash: 131c19ff1d55c8b607f3
Version: webpack 4.46.0
Time: 18644ms
Built at: 10/18/2024 5:26:21 PM
Asset Size Chunks Chunk Names
82f60bd0b94a1ed68b1e6e309ce2e8c3.svg 105 KiB [emitted]
8e3c7f5520f5ae906c6cf6d7f3ddcd19.eot 104 KiB [emitted]
962a1bf31c081691065fe333d9fa8105.svg 382 KiB [emitted]
SCope-1.8.2.9ae5207.js 29.2 MiB main [emitted] main
a1a749e89f578a49306ec2b055c073da.svg 496 KiB [emitted]
b87b9ba532ace76ae9f6edfe9f72ded2.ttf 103 KiB [emitted]
Entrypoint main = SCope-1.8.2.9ae5207.js
[0] multi (webpack)-dev-server/client?http://0.0.0.0:55850 (webpack)/hot/dev-server.js ./src/main.tsx 52 bytes {main} [built]
[./node_modules/react-cookie/es6/index.js] 226 bytes {main} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {main} [built]
[./node_modules/react-redux/es/index.js] 776 bytes {main} [built]
[./node_modules/react-router-dom/esm/react-router-dom.js] 10.1 KiB {main} [built]
[./node_modules/react/index.js] 190 bytes {main} [built]
[./node_modules/semantic-ui-css/semantic.min.css] 988 bytes {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://0.0.0.0:55850] (webpack)-dev-server/client?http://0.0.0.0:55850 4.29 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {main} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {main} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {main} [built]
[./src/main.tsx] 939 bytes {main} [built]
+ 2311 hidden modules
ℹ 「wdm」: Compiled successfully.

@robertzeibich
Copy link
Author

Installed poetry with mamba install poetry that removed all warnings, but I am still getting the same error (see image above).

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

No branches or pull requests

1 participant