CHILD_PROCESS , DGRAM , DEFAULTABLE.js - javascript

can you help me please with this errors :
I want to connect to a locally ip by ssh and i cant because i don't have the libraries , i tried to download them but they're empty .
WARNING in ./node_modules/defaultable/defaultable.js
49:13-31 Critical dependency: the request of a dependency is an
expression
ERROR in ./node_modules/simple-ssh/node_modules/ssh2/lib/agent.js
Module not found: Error: Can't resolve 'child_process' in
'/home/mehdi/Escritorio/Login2/node_modules/simple-ssh/node_modules/ssh2/lib'
ERROR in ./node_modules/native-dns-cache/lookup.js
Module not found: Error: Can't resolve 'dgram' in
'/home/mehdi/Escritorio/Login2/node_modules/native-dns-cache'
ERROR in ./node_modules/native-dns/lib/server.js
Module not found: Error: Can't resolve 'dgram' in
'/home/mehdi/Escritorio/Login2/node_modules/native-dns/lib'
ERROR in ./node_modules/native-dns/lib/utils.js
Module not found: Error: Can't resolve 'dgram' in
'/home/mehdi/Escritorio/Login2/node_modules/native-dns/lib'
Thank you very Much.

Related

sanity start | failed to compile

C:\Users\91904\Desktop!Pintrest\backend>sanity start
✔ Checking configuration files...
⠹ Compiling...webpack built e11ccaa43df8743d1a5d in 578ms
✔ Compiling...
Failed to compile.
Error in multi ./node_modules/#sanity/server/lib/browser/entry-dev.js
Module not found: Error: Can't resolve 'C:\Users\91904\Desktop' in 'C:\Users\91904\Desktop!Pintrest\backend'
# multi ./node_modules/#sanity/server/lib/browser/entry-dev.js
Error in multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js ./node_modules/#sanity/server/lib/browser/hot-client.js react react-dom
Module not found: Error: Can't resolve 'C:\Users\91904\Desktop' in 'C:\Users\91904\Desktop!Pintrest\backend'
# multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js ./node_modules/#sanity/server/lib/browser/hot-client.js react react-dom
Error in multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js ./node_modules/#sanity/server/lib/browser/hot-client.js react react-dom
Module not found: Error: Can't resolve 'C:\Users\91904\Desktop' in 'C:\Users\91904\Desktop!Pintrest\backend'
# multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js ./node_modules/#sanity/server/lib/browser/hot-client.js react react-dom

How to import JavaScript files (fabric.js) in a vaadin Application

I'm working on a Vaadin application which is using spring boot.
I want to use the fabric.js framework, but have not managed to import the files without running into Errors yet.
When trying to use the #JavaScript Annotation, I run into following Error:
[v-server-output] c.v.b.devserver.DevServerOutputTracker : ERROR in ./fabric.min.js
[v-server-output] c.v.b.devserver.DevServerOutputTracker : Module not found: Error: Can't resolve 'jsdom' in 'C:\entwicklung\grw2_new\app-and-run\applications\grw\grw-desktop\frontend'
After trying it with a npm installation(https://vaadin.com/directory/component/niiyeboahfabric-canvas), I ran into a similar Error:
[ERROR] ERROR in ../node_modules/tunnel-agent/index.js
[ERROR] Module not found: Error: Can't resolve 'net' in '/.../node_modules/tunnel-agent'
...
[ERROR] # ../node_modules/jsdom/lib/api.js
[ERROR] # ./fabric.min.js
To avoid the jsdom Error I tried to import the file in a onAttach Method using UI.getCurrent().getPage().addJavaScript("frontend/fabric.min.js");
But Vaadin does not manage to find the specified file, whether I put them in the frontend folder of my project or in META-INF/resources/frontend.

Android resource linking failed when i try to compile

this is a demo app with empty activity it shows the error in the android studio when i compile or build the project . even though when i run that in react-native run-android it shows out the same error please to suggest some tips to trouble shoot this issue.
Android resource linking failed
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:136: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:138: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:139: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:143: error: resource android:color/white not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:150: error: resource android:color/white not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:151: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:163: error: resource android:color/white not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:164: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:181: error: resource android:color/black not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:772: error: resource android:color/transparent not found.
E:\reactapp\Demo\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:967: error: resource android:color/transparent not found.
error: failed linking references.

npm install --save next/Link does not work and returns an error, no path on disk 'link.js'

I was simply trying to create a link in my next.js app, when I tried to run it it asked me to install 'Link' but it requested for me to sign into my git account (no idea why) and on the browser I received the error you see at the bottom here.
Any ideas on what to make of it?
Error in C:\Users\Tali\Desktop\practice\NextJs\pages\index.js?entry
Module not found: Error: [CaseSensitivePathsPlugin] `C:\Users\Tali\Desktop\practice\NextJs\node_modules\next\Link.js` does not match the corresponding path on disk `link.js`.
ModuleNotFoundError: Module not found: Error: [CaseSensitivePathsPlugin] `C:\Users\Tali\Desktop\practice\NextJs\node_modules\next\Link.js` does not match the corresponding path on disk `link.js`.
at factoryCallback (C:\Users\Tali\Desktop\practice\NextJs\node_modules\webpack\lib\Compilation.js:269:40)
at factory (C:\Users\Tali\Desktop\practice\NextJs\node_modules\webpack\lib\NormalModuleFactory.js:235:20)
at applyPluginsAsyncWaterfall (C:\Users\Tali\Desktop\practice\NextJs\node_modules\webpack\lib\NormalModuleFactory.js:70:21)
at C:\Users\Tali\Desktop\practice\NextJs\node_modules\tapable\lib\Tapable.js:265:18
at that.fileExistsWithCase (C:\Users\Tali\Desktop\practice\NextJs\node_modules\case-sensitive-paths-webpack-plugin\index.js:156:15)
at that.getFilenamesInDir (C:\Users\Tali\Desktop\practice\NextJs\node_modules\case-sensitive-paths-webpack-plugin\index.js:97:7)
at fs.readdir (C:\Users\Tali\Desktop\practice\NextJs\node_modules\case-sensitive-paths-webpack-plugin\index.js:63:5)
at C:\Users\Tali\Desktop\practice\NextJs\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:70:14
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)

Grunt-Built Production env, angularJS nomod error

I built an angularJS app scaffolded by yeoman, and the test environment with
grunt serve
went just as I expected, but when I tried to build the production environment with
grunt build
and run it with a nodemon, and I got no content except for the header/footer, and my chrome javascript console gave me the following error.
Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:
Error: [$injector:nomod] Module 'myApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.12/$injector/nomod?p0=myApp
at http://localhost:3000/scripts/vendor.c0d4f7d6.js:3:20442
at http://localhost:3000/scripts/vendor.c0d4f7d6.js:3:28774
at b (http://localhost:3000/scripts/vendor.c0d4f7d6.js:3:28346)
at b (http://localhost:3000/scripts/vendor.c0d4f7d6.js:3:28658)
at http://localhost:3000/scripts/vendor.c0d4f7d6.js:4:5159
at f (http://localhost:3000/scripts/vendor.c0d4f7d6.js:3:20827)
at n (http://localhost:3000/scripts/vendor.c0d4f7d6.js:4:4937)
at Sb (http://localhost:3000/scripts/vendor.c0d4f7d6.js:4:6627)
at h (http://localhost:3000/scripts/vendor.c0d4f7d6.js:3:26459)
at _ (http://localhost:3000/scripts/vendor.c0d4f7d6.js:3:26769)
http://errors.angularjs.org/1.3.12/$injector/modulerr?p0=myApp&p1=E…0(http%3A%2F%2Flocalhost%3A3000%2Fscripts%2Fvendor.c0d4f7d6.js%3A3%3A26769)vendor.c0d4f7d6.js:3 (anonymous function)vendor.c0d4f7d6.js:4 (anonymous function)vendor.c0d4f7d6.js:3 fvendor.c0d4f7d6.js:4 nvendor.c0d4f7d6.js:4 Sbvendor.c0d4f7d6.js:3 hvendor.c0d4f7d6.js:3 _vendor.c0d4f7d6.js:3 $vendor.c0d4f7d6.js:7 (anonymous function)vendor.c0d4f7d6.js:2 _.Callbacks.kvendor.c0d4f7d6.js:2 _.Callbacks.l.fireWithvendor.c0d4f7d6.js:2 _.extend.readyvendor.c0d4f7d6.js:1 g
http://start.jcolemorrison.com/building-an-angular-and-express-app-part-1/
I was basically following this, and when i did npm start i got basically a blank page. Any suggestions?

Categories