enkryptcom / enKrypt

Enkrypt: Ethereum, Polkadot and Web3 Wallet
https://www.enkrypt.com/
MIT License
283 stars 153 forks source link

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

Open EAG-es opened 4 months ago

EAG-es commented 4 months ago

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/extension@1.32.0 
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 commented 4 months ago

try

yarn install
yarn build:all
yarn watch

in that order

EAG-es commented 4 months ago

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 commented 2 months ago

are you using a windows operating system?

EAG-es commented 2 months ago

are you using a windows operating system?

I am using Linux Mint 21.1

abdullahmehboob20s commented 3 weeks ago

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

image