"Module not found: Error: Can't resolve './iterator.js' - vega

I am suddenly getting the follow errors and I have no clue how to fix them:
Object
loc: "1224:2-26"
message: "Module not found: Error: Can't resolve './iterator.js' in 'C:\\Users\\MyApp\\node_modules\\vega-embed\\build'"
moduleIdentifier: "C:\\Users\\MyApp\\node_modules\\#angular-devkit\\build-angular\\src\\babel\\webpack-loader.js??ruleSet[1].rules[2].use[0]!C:\\Users\\my-project\\node_modules\\#ngtools\\webpack\\src\\ivy\\index.js!C:\\Users\\MyApp\\node_modules\\source-map-loader\\dist\\cjs.js??ruleSet[1].rules[3]!C:\\Users\\MyApp\\node_modules\\vega-embed\\build\\vega-embed.module.js"
moduleName: "./node_modules/vega-embed/build/vega-embed.module.js"
[[Prototype]]: Object
./node_modules/vega-embed/build/vega-embed.module.js:1224:2-26 - Warning: Module not found: Error: Can't resolve './iterator.js' in 'C:\Users\MyApp\node_modules\vega-embed\build'
I also get the following warning when I build my app:
Warning: C:\Users\MyApp\src\app\components\vega\vega.component.ts depends on 'vega-embed'. CommonJS or AMD dependencies can cause optimization bailouts.
Can someone please help me understand what is wrong and how I can resolve fix these?

Related

How to resolve "cannot pipe" issue with testcafe-hammerhead

When running tests, I'm getting the following error:
1 Unhandled promise rejection:
Error: Cannot pipe, not readable
at new NodeError (node:internal/errors:387:5)
at ServerResponse.pipe (node:_http_outgoing:1070:22)
at respondOnWebSocket (D:\e2e\0.0.157\node_modules\testcafe\node_modules\testcafe-hammerhead\lib\request-pipeline\websocket.js:56:9)
at Array.decideOnProcessingStrategy (D:\e2e\0.0.157\node_modules\testcafe\node_modules\testcafe-hammerhead\lib\request-pipeline\stages.js:77:48)
at run (D:\e2e\0.0.157\node_modules\testcafe\node_modules\testcafe-hammerhead\lib\request-pipeline\index.js:20:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Does anyone have a suggestion on how to resolve this?
See future updates related to this issue in this GitHub thread.

Generic table issue in angular-8

Generic table (gt column setting) attribute is not working in angular and (gt Search) is not working as well
Throwing this error on hitting this command
npm i #angular-generic-table/column-settings
ERROR in ./node_modules/#angular-generic-table/column-settings/fesm5/angular-generic-table-column-settings.js
Module not found: Error: Can't resolve 'ng2-dragula' in 'E:\Workspace\Retegrity\Source\WebRetegrity\webretegrity\node_modules#angular-generic-table\column-settings\fesm5'
ERROR in ./node_modules/#angular-generic-table/core/fesm5/angular-generic-table-core.js
Module not found: Error: Can't resolve 'tether' in 'E:\Workspace\Retegrity\Source\WebRetegrity\webretegrity\node_modules#angular-generic-table\core\fesm5'

`react-native run-android` fails when I pass `--deviceId`

I have a react-native project that builds fine with react-native run-android. But if I run it as react-native run-android --deviceId xxxx, I get the following error:
> Task :#remobile_react-native-qrcode-local-image:verifyReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':#remobile_react-native-qrcode-local-image:verifyReleaseResources'.
> 1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found.
error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:7: error: resource android:attr/colorError not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:11: error: resource android:attr/colorError not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2734: error: resource android:attr/fontStyle not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2735: error: resource android:attr/font not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2736: error: resource android:attr/fontWeight not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2737: error: resource android:attr/fontVariationSettings not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2738: error: resource android:attr/ttcIndex not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2902: error: resource android:attr/startX not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2905: error: resource android:attr/startY not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2908: error: resource android:attr/endX not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2911: error: resource android:attr/endY not found.
/home/justin/BlueWallet/node_modules/#remobile/react-native-qrcode-local-image/android/build/intermediates/res/merged/release/values/values.xml:2919: error: resource android:attr/offset not found.
error: failed linking references.
It's quite strange. It's as if react-native can't interpret static files in a QR-code library when passing a --deviceId. Any ideas why this might be?
Here's the repo if anyone is interested.

How to install and run Sensenet DMS Demo? Getting Error while starting

I am trying to evaluate sensenet and running it in local machine with Visual studio. Iam not a developer and not able to understand the steps described in github page. can someone help to provide step by step procedure to access sensenet client and document management demo?
To Avoid all this difficulties I Also tried to download sense net 6.5, but as codeplex page are archived iam not able to download the same. if any other links to download exist it will be helpful.
Error Details DMS Demo Installation
Detailed Error Log
An NPM package is missing, you can try to add it manually with the npm i uglifyjs-webpack-plugin command.
Thanks for the reply, i had installed.
Installed and tried following errors came
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/addDays' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/addMonths' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/addYears' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/differenceInMilliseconds' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/eachDayOfInterval' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
ERROR in ./node_modules/#date-io/date-fns/build/index.esm.js
Module not found: Error: Can't resolve 'date-fns/endOfDay' in 'D:\sn-dms-demo-master\sn-dms-demo-master\node_modules#date-io\date-fns\build'
.
.
.
.
.
at the end following are coming
ERROR in [at-loader] ./node_modules/#sensenet/controls-react/dist/viewcontrols/EditView.d.ts:4:8
TS1192: Module '"D:/sn-dms-demo-master/sn-dms-demo-master/node_modules/#types/react/index"' has no default export.
ERROR in [at-loader] ./node_modules/#sensenet/controls-react/dist/viewcontrols/BrowseView.d.ts:4:8
TS1192: Module '"D:/sn-dms-demo-master/sn-dms-demo-master/node_modules/#types/react/index"' has no default export.
ERROR in [at-loader] ./node_modules/#sensenet/controls-react/dist/viewcontrols/NewView.d.ts:1:8
TS1192: Module '"D:/sn-dms-demo-master/sn-dms-demo-master/node_modules/#types/react/index"' has no default export.
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./public/index.html] 2.22 KiB {0} [built]
[./node_modules/lodash/lodash.js] 527 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: Failed to compile.

Linking issue with eosio-ld

I'm trying to build my EOS smart contract using eosio.cdt and via cmake.
Compilation succeeded, but linking failed with below log.
/usr/local/eosio.cdt/bin/wasm-ld: error: locale.cpp.o: undefined symbol: strftime_l
/usr/local/eosio.cdt/bin/wasm-ld: error: memory.cpp.o: undefined symbol: __cxa_pure_virtual
/usr/local/eosio.cdt/bin/wasm-ld: error: system_error.cpp.o: undefined symbol: __cxa_pure_virtual
The code for linking module generated by cmake is as below.
eosio-ld -L=/usr/local/eosio.cdt/lib/ CMakeFiles/a.wasm.dir/a.cpp.o CMakeFiles/a.wasm.dir/validator/b.cpp.o CMakeFiles/a.wasm.dir/validator/c.cpp.o CMakeFiles/a.wasm.dir/common/d.cpp.o -o a.wasm
libc++.a exists in /usr/local/eosio.cdt/lib/.
How can I fix this problem?
Just include <eosiolib/eosio.hpp> header file.