enKrypt
enKrypt copied to clipboard
https://github.com/enkryptcom/enKrypt does not work
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
try
yarn install
yarn build:all
yarn watch
in that order
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)
are you using a windows operating system?
are you using a windows operating system?
I am using Linux Mint 21.1
I followed the instructions given in readm.md. But I am getting errors after running yarn watch-extension
. I am using windows 10
Had same issue on macOS, but can confirm the following works well:
yarn install
yarn build:all
yarn watch