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

https://github.com/enkryptcom/enKrypt does not work #397

Open
EAG-es opened this issue Feb 14, 2024 · 5 comments
Open

https://github.com/enkryptcom/enKrypt does not work #397

EAG-es opened this issue Feb 14, 2024 · 5 comments

Comments

@EAG-es
Copy link

EAG-es commented Feb 14, 2024

Following the instructions: https://github.com/enkryptcom/enKrypt

It return errors:

yarn watch-extension

[vue-chrome] npm ERR! Lifecycle script `watch-vue-chrome` failed with error: 
[vue-chrome] npm ERR! Error: command failed 
npm ERR!   in workspace: @enkryptcom/[email protected] 
npm ERR!   at location: /home/emilio/proyectos/enKrypt/packages/extension 

yarn watch:firefox

...
[inject] (!) Unresolved dependencies
[inject] https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
[inject] @enkryptcom/extension-bridge/dist/window (imported by "src/libs/messenger/window.ts")
[inject] @enkryptcom/types (imported by "src/providers/bitcoin/types/index.ts")
[inject] (!) Missing global variable names
[inject] https://rollupjs.org/configuration-options/#output-globals
[inject] Use "output.globals" to specify browser global variable names corresponding to external modules:
[inject] @enkryptcom/extension-bridge/dist/window (guessing "window$1")
[inject] @enkryptcom/types (guessing "types")
[inject] created dist/scripts in 7.8s

dist directory does not exists

yarn build:all
yarn build:chrome

...
(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
created dist/scripts in 6.8s
(node:18875) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

src/scripts/inject.ts → dist/scripts...
(!) Circular dependencies
../../node_modules/chai/lib/chai.js -> ../../node_modules/chai/lib/chai/utils/index.js -> ../../node_modules/chai/lib/chai/utils/addProperty.js -> ../../node_modules/chai/lib/chai.js
../../node_modules/chai/lib/chai.js -> ../../node_modules/chai/lib/chai/utils/index.js -> ../../node_modules/chai/lib/chai/utils/addMethod.js -> ../../node_modules/chai/lib/chai.js
../../node_modules/chai/lib/chai.js -> ../../node_modules/chai/lib/chai/utils/index.js -> ../../node_modules/chai/lib/chai/utils/overwriteProperty.js -> ../../node_modules/chai/lib/chai.js
...and 3 more
(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
created dist/scripts in 5.3s

dist directory does not exists

@kvhnuke
Copy link
Contributor

kvhnuke commented Feb 22, 2024

try

yarn install
yarn build:all
yarn watch

in that order

@EAG-es
Copy link
Author

EAG-es commented Feb 26, 2024

I got this errors after yarn install
...
YN0009: │ blake2@npm:4.1.1 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-e8b05944/build.log)
YN0000: Failed with errors in 2m 58s
build.log:
...
ModuleNotFoundError: No module named 'distutils'
...
I tried to solve, installing manually:
pip install disutils
pip install setuptools
yarn add vue-demi
yarn add vue
npm install -g typescript
Did not work:
I got this errors after yarn watch

(see document attached)

error.log

@kvhnuke
Copy link
Contributor

kvhnuke commented May 6, 2024

are you using a windows operating system?

@EAG-es
Copy link
Author

EAG-es commented May 8, 2024

are you using a windows operating system?

I am using Linux Mint 21.1

@abdullahmehboob20s
Copy link

I followed the instructions given in readm.md. But I am getting errors after running yarn watch-extension. I am using windows 10

image

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

3 participants