hodgef / simple-keyboard

Javascript Virtual Keyboard - Customizable, responsive and lightweight
https://virtual-keyboard.js.org/
MIT License
2.2k stars 169 forks source link

Problem to run angular project with simple-keyboard #89

Closed rodrifmed closed 5 years ago

rodrifmed commented 5 years ago

What I did was execute "npm install simple-keyboard --save"

and after I ran my app I received this erro:

ERROR Failed to compile with 35 errors 3:49:41 PM

These dependencies were not found:

  • child_process in ./node_modules/protractor/built/runner.js, ./node_modules/protractor/built/debugger.js and 4 others
  • fs in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js, ./node_modules/fs.realpath/index.js and 21 others
  • net in ./node_modules/https-proxy-agent/index.js, ./node_modules/protractor/built/debugger.js and 1 other
  • repl in ./node_modules/protractor/built/debugger.js
  • tls in ./node_modules/https-proxy-agent/index.js

To install them, you can run: npm install --save child_process fs net repl tls

This relative module was not found:

  • ./lib-cov/SauceLabs in ./node_modules/saucelabs/index.js
hodgef commented 5 years ago

Hello @rodrifmed ,

I'll do a fresh install from angular-cli and try to reproduce the issue. I'll update this in a bit.

Regards, Francisco Hodge

hodgef commented 5 years ago

Hello @rodrifmed ,

I was not able to reproduce the issue on a fresh Angular 8 install. This specific issue seems to be related to your project setup. I'd recommend heading over to the angular-cli page and getting a fresh install.

https://cli.angular.io/

image

For reference, here's an Angular 7 demo: https://codesandbox.io/s/github/simple-keyboard/angular7-simple-keyboard-demo

Regards, Francisco Hodge

rodrifmed commented 5 years ago

Hi Francesco,

I`m using webpack, maybe this is the problem with your lib?

regards,

Rodrigo Medeiros

On Tue, May 28, 2019 at 4:19 PM Francisco Hodge notifications@github.com wrote:

Hello @rodrifmed https://github.com/rodrifmed ,

I was not able to reproduce the issue on a fresh Angular 8 install. This specific issue seems to be related to your project setup. I'd recommend heading over to the angular-cli page and getting a fresh install.

https://cli.angular.io/

[image: image] https://user-images.githubusercontent.com/25509135/58518445-40d35e80-817d-11e9-9dac-684a973d8470.png

Regards, Francisco Hodge

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hodgef/simple-keyboard/issues/89?email_source=notifications&email_token=AAWADALVKEIOTVZXIUBXCZ3PXW4WRA5CNFSM4HQHXQB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWNWYWI#issuecomment-496725081, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWADALAIRRQVYWKQL6EOGDPXW4WRANCNFSM4HQHXQBQ .

rodrifmed commented 5 years ago

Hi Francesco,

It is my fault I was importing a wrong lib

thanks for your fast reply!

regards,

Rodrigo Medeiros

On Tue, May 28, 2019 at 4:48 PM Rodrigo Felizola Medeiros < rodrifmed@gmail.com> wrote:

Hi Francesco,

I`m using webpack, maybe this is the problem with your lib?

regards,

Rodrigo Medeiros

On Tue, May 28, 2019 at 4:19 PM Francisco Hodge notifications@github.com wrote:

Hello @rodrifmed https://github.com/rodrifmed ,

I was not able to reproduce the issue on a fresh Angular 8 install. This specific issue seems to be related to your project setup. I'd recommend heading over to the angular-cli page and getting a fresh install.

https://cli.angular.io/

[image: image] https://user-images.githubusercontent.com/25509135/58518445-40d35e80-817d-11e9-9dac-684a973d8470.png

Regards, Francisco Hodge

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hodgef/simple-keyboard/issues/89?email_source=notifications&email_token=AAWADALVKEIOTVZXIUBXCZ3PXW4WRA5CNFSM4HQHXQB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWNWYWI#issuecomment-496725081, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWADALAIRRQVYWKQL6EOGDPXW4WRANCNFSM4HQHXQBQ .

hodgef commented 5 years ago

Glad to hear that it works now! Feel free to reach out if you have any other issues :)