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

fix npm start assets #240

Closed
rom1504 opened this issue Nov 7, 2021 · 2 comments
Closed

fix npm start assets #240

rom1504 opened this issue Nov 7, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@rom1504
Copy link
Member

rom1504 commented Nov 7, 2021

they don't work (very likely caused by #227)
cc @Saiv46

@rom1504 rom1504 added the bug Something isn't working label Nov 7, 2021
@rom1504
Copy link
Member Author

rom1504 commented Nov 11, 2021

short term solution will be a revert of 8c88ec6

@rom1504
Copy link
Member Author

rom1504 commented Nov 12, 2021

ERROR in ./node_modules/jose/dist/browser/runtime/env.js 6:15-22
Module not found: Error: Can't resolve 'process/browser' in '/workspace/prismarine-web-client/node_modules/jose/dist/browser/runtime'
Did you mean 'browser.js'?
BREAKING CHANGE: The request 'process/browser' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
resolve 'process/browser' in '/workspace/prismarine-web-client/node_modules/jose/dist/browser/runtime'
  Parsed request is a module
  using description file: /workspace/prismarine-web-client/node_modules/jose/dist/browser/package.json (relative path: ./runtime)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /workspace/prismarine-web-client/node_modules/jose/dist/browser/runtime/node_modules doesn't exist or is not a directory
      /workspace/prismarine-web-client/node_modules/jose/dist/browser/node_modules doesn't exist or is not a directory
      /workspace/prismarine-web-client/node_modules/jose/dist/node_modules doesn't exist or is not a directory
      /workspace/prismarine-web-client/node_modules/jose/node_modules doesn't exist or is not a directory
      /workspace/prismarine-web-client/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /workspace/prismarine-web-client/node_modules
        existing directory /workspace/prismarine-web-client/node_modules/process
          using description file: /workspace/prismarine-web-client/node_modules/process/package.json (relative path: .)
            using description file: /workspace/prismarine-web-client/node_modules/process/package.json (relative path: ./browser)
              Field 'browser' doesn't contain a valid alias configuration
              /workspace/prismarine-web-client/node_modules/process/browser doesn't exist
      /workspace/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
 @ ./node_modules/jose/dist/browser/runtime/asn1.js 1:0-57 44:14-33 44:39-47 47:13-21 104:14-33 104:39-47
 @ ./node_modules/jose/dist/browser/key/export.js 1:0-60 2:0-62 5:11-23 8:11-24
 @ ./node_modules/jose/dist/browser/index.js 21:0-69 21:0-69 21:0-69 21:0-69
 @ ./node_modules/prismarine-auth/src/TokenManagers/XboxTokenManager.js 8:22-37
 @ ./node_modules/prismarine-auth/src/MicrosoftAuthFlow.js 11:25-68
 @ ./node_modules/prismarine-auth/index.js 8:12-46
 @ ./node_modules/minecraft-protocol/src/client/microsoftAuth.js 2:37-63
 @ ./node_modules/minecraft-protocol/src/createClient.js 10:22-55
 @ ./node_modules/minecraft-protocol/src/index.js 6:21-46
 @ ./node_modules/mineflayer/lib/loader.js 1:11-40
 @ ./node_modules/mineflayer/index.js 7:0-43
 @ ./index.js 18:19-40

after reverting that commit

so we need to fix jose as well...

extremeheat referenced this issue in extremeheat/prismarine-web-client Apr 13, 2023
This reverts commit 1e6d0f2.

Fix #240
Moondarker referenced this issue in Moondarker/prismarine-web-client Apr 13, 2023
This reverts commit e98c116.

Fix #240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant