enKrypt icon indicating copy to clipboard operation
enKrypt copied to clipboard

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

Open EAG-es opened this issue 1 year ago • 4 comments

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

EAG-es avatar Feb 14 '24 12:02 EAG-es

try

yarn install
yarn build:all
yarn watch

in that order

kvhnuke avatar Feb 22 '24 20:02 kvhnuke

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

EAG-es avatar Feb 26 '24 10:02 EAG-es

are you using a windows operating system?

kvhnuke avatar May 06 '24 17:05 kvhnuke

are you using a windows operating system?

I am using Linux Mint 21.1

EAG-es avatar May 08 '24 08:05 EAG-es

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

image

abdullahmehboob20s avatar Jun 11 '24 20:06 abdullahmehboob20s

Had same issue on macOS, but can confirm the following works well:

yarn install
yarn build:all
yarn watch

IgorKhomenko avatar Jul 10 '24 07:07 IgorKhomenko