Giter VIP home page Giter VIP logo

element-web-ilag-module's People

Contributors

fox32 avatar justjanne avatar langleyd avatar riotrobot avatar t3chguy avatar turt2live avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

element-web-ilag-module's Issues

Getting an error when trying to go to the room without being logged in

Looks like MatrixClientPeg.get() is null when not logged in?

rageshake.ts?f0f1:73 
        
       RVS failed to get room id for alias:  TypeError: Cannot read properties of null (reading 'getRoomIdForAlias')
    at RoomViewStore.viewRoom (RoomViewStore.tsx?b0a3:352:42)
    at RoomViewStore.__onDispatch (RoomViewStore.tsx?b0a3:174:22)
    at RoomViewStore.__invokeOnDispatch (FluxStore.js?939a:148:1)
    at Object.eval [as ID_21] (FluxStore.js?939a:79:1)
    at MatrixDispatcher._invokeCallback (Dispatcher.js?4caf:198:1)
    at MatrixDispatcher.dispatch (Dispatcher.js?4caf:174:1)

I have made the room public, added a local address and guests are allowed.

Can not build

This is my build_config.yaml:

The values of this are provided to yarn add for inclusion.

modules:
# An example of pulling a module from github
- "github:vector-im/element-web-ilag-module#main"

After running yarn build I get a modules file but the module import is not resolving:
image

C:\Users\cfriedlander\Documents\element web test older versions\element-web>yarn build                                                                                                         yarn run v1.22.5                                                                                                                                                                               $ yarn clean && yarn build:genfiles && yarn build:bundle                                                                                                                                       $ rimraf lib webapp                                                                                                                                                                            $ yarn build:res && yarn build:jitsi && yarn build:module_system                                                                                                                               $ node scripts/copy-res.js                                                                                                                                                                     $ node scripts/build-jitsi.js                                                                                                                                                                  Making webapp directory                                                                                                                                                                        Downloading Jitsi script                                                                                                                                                                       Done with Jitsi download                                                                                                                                                                       $ tsc --project ./tsconfig.module_system.json && node ./lib/module_system/scripts/install.js                                                                                                   [1/4] Resolving packages...                                                                                                                                                                    [2/4] Fetching packages...                                                                                                                                                                     info [email protected]: The platform "win32" is incompatible with this module.                                                                                                                    info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.                                                                                info [email protected]: The platform "win32" is incompatible with this module.                                                                                                                   info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.                                                                               [3/4] Linking dependencies...                                                                                                                                                                  warning "matrix-react-sdk > maplibre-gl > @mapbox/[email protected]" has unmet peer dependency "mapbox-gl@>=0.32.1 <2.0.0".                                                            warning " > [email protected]" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.5.1".                                                                                         [4/4] Building fresh packages...                                                                                                                                                               success Saved lockfile.                                                                                                                                                                        success Saved 2 new dependencies.                                                                                                                                                              info Direct dependencies                                                                                                                                                                       └─ @vector-im/[email protected]                                                                                                                                                    info All dependencies                                                                                                                                                                          ├─ @vector-im/[email protected]                                                                                                                                                    └─ [email protected]                                                                                                                                                                       The following modules have been installed:  [ '@vector-im/element-web-ilag-module' ]                                                                                                           Done installing modules                                                                                                                                                                        $ webpack --progress --bail --mode production                                                                                                                                                  Unset VERSION variable - this may affect build output                                                                                                                                          31% building 147/205 modules 58 active ...st older versions\matrix-react-sdk\node_modules\@matrix-org\react-sdk-module-api\lib\components\TextInputField.jsModuleNotFoundError: Module not found: Error: Can't resolve '@vector-im/element-web-ilag-module' in 'C:\Users\cfriedlander\Documents\element web test older versions\element-web\src'                                                  at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\webpack\lib\Compilation.js:925:10                                                                  at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\webpack\lib\NormalModuleFactory.js:401:22                                                          at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\webpack\lib\NormalModuleFactory.js:130:21                                                          at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\webpack\lib\NormalModuleFactory.js:224:22                                                          at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\neo-async\async.js:2830:7                                                                          at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\neo-async\async.js:6877:13                                                                         at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\webpack\lib\NormalModuleFactory.js:214:25                                                          at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:213:14                                                            at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                             at eval (eval at create (C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:44:7                                                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                             at eval (eval at create (C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                             at eval (eval at create (C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:27:1)                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:67:43                                                at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                             at eval (eval at create (C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:43:1)                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\ModuleKindPlugin.js:30:40                                                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                             at eval (eval at create (C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                             at eval (eval at create (C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\forEachBail.js:30:14                                                          at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                             at eval (eval at create (C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:44:7                                                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                             at eval (eval at create (C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)                     at C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\enhanced-resolve\lib\Resolver.js:285:5                                                         resolve '@vector-im/element-web-ilag-module' in 'C:\Users\cfriedlander\Documents\element web test older versions\element-web\src'                                                                Parsed request is a module                                                                                                                                                                     using description file: C:\Users\cfriedlander\Documents\element web test older versions\element-web\package.json (relative path: ./src)                                                          Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    resolve as module                                                                                                                                                                                C:\Users\cfriedlander\Documents\element web test older versions\element-web\src\node_modules doesn't exist or is not a directory                                                               C:\Users\cfriedlander\Documents\element web test older versions\node_modules doesn't exist or is not a directory                                                                               C:\Users\cfriedlander\Documents\node_modules doesn't exist or is not a directory                                                                                                               C:\Users\cfriedlander\node_modules doesn't exist or is not a directory                                                                                                                         C:\Users\node_modules doesn't exist or is not a directory                                                                                                                                      C:\node_modules doesn't exist or is not a directory                                                                                                                                            looking for modules in C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules                                                                                  using description file: C:\Users\cfriedlander\Documents\element web test older versions\element-web\package.json (relative path: ./node_modules)                                                 Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    using description file: C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\package.json (relative path: .)              no extension                                                                                                                                                                                     Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module is not a file                                                    .js                                                                                                                                                                                              Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module.js doesn't exist                                                 .json                                                                                                                                                                                            Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module.json doesn't exist            .ts                                  Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module.ts doesn't exist                                                 .tsx                                                                                                                                                                                             Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module.tsx doesn't exist                                                as directory                                                                                                                                                                                     existing directory                                                                                                                                                                               use ./lib/index.js from main in package.json                                                                                                                                                     using description file: C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\package.json (relative path: .)                                                                                                                                                                                                             Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    using description file: C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\package.json (relative path: ./lib/index.js)                                                                                                                                                                                                no extension                                                                                                                                                                                     Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\lib\index.js doesn't exist                                       .js                                                                                                                                                                                              Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\lib\index.js.js doesn't exist                                    .json                                                                                                                                                                                            Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\lib\index.js.json doesn't exist                                  .ts                                                                                                                                                                                              Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\lib\index.js.ts doesn't exist                                    .tsx                                                                                                                                                                                             Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\lib\index.js.tsx doesn't exist                                   as directory                                                                                                                                                                                     C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\lib\index.js doesn't exist                                 using path: C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\index                                                    using description file: C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\package.json (relative path: ./index)                                                                                                                                                                                                       no extension                                                                                                                                                                                     Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\index doesn't exist                                              .js                                                                                                                                                                                              Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\index.js doesn't exist                                           .json                                                                                                                                                                                            Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\index.json doesn't exist                                         .ts                                                                                                                                                                                              Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\index.ts doesn't exist                                           .tsx                                                                                                                                                                                             Field 'matrix_src_browser' doesn't contain a valid alias configuration                                                                                                                         Field 'browser' doesn't contain a valid alias configuration                                                                                                                                    C:\Users\cfriedlander\Documents\element web test older versions\element-web\node_modules\@vector-im\element-web-ilag-module\index.tsx doesn't exist                      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/run for documentation about this command.         

Can't seem to build with the READ.ME

Can't resolve '@vector-im/element-web-ilag-module'

I can see it exists in the node modules so not sure what the problem is, I cleaned the cache and deleted the node modules, still the same issue...

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.