pondersource / sciencemesh-php

Connect your Nextcloud server to Sciencemesh
MIT License
0 stars 1 forks source link

Port nextcloud server patch to 24-stable branch #79

Open michielbdejong opened 2 years ago

michielbdejong commented 2 years ago

As discussed in today's meeting

mrvahedi68 commented 2 years ago

Can I know more about this issue?

mrvahedi68 commented 2 years ago

Where is this branch? I could not find it in Nextcloud server or in Sciencemesh app :(

mrvahedi68 commented 2 years ago

I found this branch on Original Nextcloud repository. Is it true?

michielbdejong commented 2 years ago

I don’t think it’s necessary to build nextcloud/server, see https://github.com/cs3org/ocm-test-suite/blob/main/servers/nextcloud/Dockerfile

@mrvahedi68 can you post the link here that told you to build nextcloud/server?

mrvahedi68 commented 2 years ago

When I try to make Nextcloud I got ERROR in Cannot find module 'eslint' I install eslint separately but error is the same:



changed 111 packages, and audited 112 packages in 16s```

  26 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
    mrv@mrv-pc:~/Desktop/Projects/ocm-test-suite/nextcloud$ make
    rm -rf dist
    make: Circular dev-setup <- all dependency dropped.
npm run build

> nextcloud@1.0.0 build
> NODE_ENV=production webpack --progress --config webpack.prod.js

assets by status 9.66 MiB [cached] 51 assets
orphan modules 1.9 MiB [orphan] 1237 modules
runtime modules 173 KiB 495 modules
built modules 15.8 MiB [built]
  modules by path ./node_modules/ 13.2 MiB 1352 modules
  modules by path ./apps/ 1.78 MiB
    javascript modules 1.74 MiB 147 modules
    asset modules 32.8 KiB 20 modules
  modules by path ./core/ 797 KiB
    javascript modules 783 KiB 40 modules
    asset modules 14.5 KiB 5 modules
  modules by mime type image/gif 2.4 KiB
    data:image/gif;base64,R0lGODlhAQABAIAA.. 92.3 bytes [built] [code generated]
    data:image/gif;base64,R0lGODlhKAAoAIAB.. 2.31 KiB [built] [code generated]
  util (ignored) 15 bytes [built] [code generated]
  util (ignored) 15 bytes [built] [code generated]

ERROR in ./node_modules/linkify-string/dist/linkify-string.module.js 1:0-46
Module not found: Error: Can't resolve 'linkifyjs' in '/home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkify-string/dist'
resolve 'linkifyjs' in '/home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkify-string/dist'
  Parsed request is a module
  using description file: /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkify-string/package.json (relative path: ./dist)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkify-string/dist/node_modules doesn't exist or is not a directory
      /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkify-string/node_modules doesn't exist or is not a directory
      /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules
        single file module
          using description file: /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/package.json (relative path: ./node_modules/linkifyjs)
            no extension
              /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkifyjs doesn't exist
            *
              /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkifyjs* doesn't exist
            .js
              /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkifyjs.js doesn't exist
            .vue
              /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkifyjs.vue doesn't exist
        /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/linkifyjs doesn't exist
      looking for modules in /home/mrv/Desktop/Projects/ocm-test-suite/node_modules
        single file module
          using description file: /home/mrv/Desktop/Projects/ocm-test-suite/package.json (relative path: ./node_modules/linkifyjs)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /home/mrv/Desktop/Projects/ocm-test-suite/node_modules/linkifyjs doesn't exist
            *
              Field 'browser' doesn't contain a valid alias configuration
              /home/mrv/Desktop/Projects/ocm-test-suite/node_modules/linkifyjs* doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /home/mrv/Desktop/Projects/ocm-test-suite/node_modules/linkifyjs.js doesn't exist
            .vue
              Field 'browser' doesn't contain a valid alias configuration
              /home/mrv/Desktop/Projects/ocm-test-suite/node_modules/linkifyjs.vue doesn't exist
        /home/mrv/Desktop/Projects/ocm-test-suite/node_modules/linkifyjs doesn't exist
      /home/mrv/Desktop/Projects/node_modules doesn't exist or is not a directory
      /home/mrv/Desktop/node_modules doesn't exist or is not a directory
      /home/mrv/node_modules doesn't exist or is not a directory
      /home/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
 @ ./node_modules/@nextcloud/vue/dist/Components/Avatar.js 2:64455-64480
 @ ./apps/user_status/src/menu.js 28:0-59 48:30-36

ERROR in Cannot find module 'eslint'
Require stack:
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/eslint-webpack-plugin/dist/getESLint.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/eslint-webpack-plugin/dist/linter.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/eslint-webpack-plugin/dist/index.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/eslint-webpack-plugin/dist/cjs.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/webpack.common.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/webpack.prod.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/webpack-cli/lib/webpack-cli.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/webpack-cli/lib/bootstrap.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/webpack-cli/bin/cli.js
- /home/mrv/Desktop/Projects/ocm-test-suite/nextcloud/node_modules/webpack/bin/webpack.js

webpack 5.72.1 compiled with 2 errors in 196918 ms
make: *** [Makefile:17: build-js-production] Error 1
mrvahedi68 commented 2 years ago

For running nextcloud we need to run make command on root of the nextcloud source code. This is because of the missing JavaScript packages.

mrvahedi68 commented 2 years ago

I could send token from Einstein to Marie and after accepting by Marie finally Einstein see her in his contacts.

michielbdejong commented 2 years ago

OK, is the branch for this published and linked from the docs?