Module parse failed react-toastify - module

I have install react-toastify package but I'm getting this error what should I do
Error in ./~/react-toastify/dist/react-toastify.js
Module parse failed:
You may need an appropriate loader to handle this file type.

Related

Azure Data Factory Automated publishing for continuous integration and delivery

I’m following the new CICD guide for ADF https://learn.microsoft.com/en-us/azure/data-factory/continuous-integration-deployment-improvements
Looks like I'm missing files credential and managedVirtualNetwork. Do I need to set up authentication with the npm module and Azure packages?
Getting these errors:
LocalFileClientService: Unable to list files for: credential, error: Error: ENOENT: no such file or directory, scandir '/home/vsts/work/1/s/credential'
…
LocalFileClientService: Unable to list files for: managedVirtualNetwork, error: Error: ENOENT: no such file or directory, scandir '/home/vsts/work/1/s/managedVirtualNetwork'
…
ERROR === CmdApiApp: Failed to run resource validation. Error: {"stack":"TypeError: Cannot read property 'concept' of undefined\n at Function.<anonymous> (/home/vsts/work/1/s/downloads/main.js:1271:27040)\n at /home/vsts/work/1/s/downloads/main.js:16:2243\n at Object.next (/home/vsts/work/1/s/downloads/main.js:16:2348)\n at o (/home/vsts/work/1/s/downloads/main.js:16:1087)","message":"Cannot read property 'concept' of undefined"}
…
error code ELIFECYCLE
error errno 1
error # build: `node node_modules/#microsoft/azure-data-factory-utilities/lib/index "validate" "/home/vsts/work/1/s" "subscriptions/xxxxxxx/resourceGroups/xxxxxxx/providers/Microsoft.DataFactory/factories/xxxxxxxx”
error Exit status 1
error Failed at the # build script.
error This is probably not a problem with npm. There is likely additional logging output above.
##[error]Error: Npm failed with return code: 1
The missing credential and managedVirtualNetwork folders are not an issue. I am able to validate and export the ARM template even without having those folders.
I was able to reproduce the error with an incorrect ADF Resource ID. The leading / before 'subscriptions' is missing. Changing the Resource ID to /subscriptions/xxxxxxx/resourceGroups/xxxxxxx/providers/Microsoft.DataFactory/factories/xxxxxxxx should work.

from unknown error: archive error: (unknown error: could not write file to temp dir), entry error: (unknown error: leftover data after zip entry)

I am running parallel scenarios on remote using selenoid but after some time and after some scenarios got passed, they fail because of following error while file upload.
unknown error: unable to unzip 'file' from unknown error: archive error: (unknown error: could not write file to temp dir), entry error: (unknown error: leftover data after zip entry)
But When I run one of that failing scenario again, it passes with no error.
I am using parallel_split_test gem to divide scenarios, selenoid for remote testing, Selenium-webdriver vrsion (3.142.7) and ruby 2.5.5

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'

No available mirrors for yaml-cpp

I'm trying to install mongodd using yaourt on archlinux which require the yaml-cpp lib to be installed.
The thing is, yaourt is unable to find a valid mirror to download from
error: failed retrieving file 'yaml-cpp-0.6.1-3-x86_64.pkg.tar.xz' from ftp.swin.edu.au : The requested URL returned error: 404
error: failed retrieving file 'yaml-cpp-0.6.1-3-x86_64.pkg.tar.xz' from ftp.acc.umu.se : The requested URL returned error: 404
error: failed retrieving file 'yaml-cpp-0.6.1-3-x86_64.pkg.tar.xz' from mirror.neuf.no : The requested URL returned error: 404
error: failed retrieving file 'yaml-cpp-0.6.1-3-x86_64.pkg.tar.xz' from mirrors.ustc.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'yaml-cpp-0.6.1-3-x86_64.pkg.tar.xz' from mirror.23media.de : The requested URL returned error: 404
(4/4) checking keys in keyring [##############################] 100%
(4/4) checking package integrity [##############################] 100%
error: yaml-cpp: signature from "Levente Polyak (anthraxx) <levente#leventepolyak.net>" is invalid
I tried building the lib manually from source and putting it in /usr/lib but it doesn't work either.
What can I do here ?
Thanks
You must update your Arch Linux before installing any new package.
The following command are fine:
pacman -Syu followed by pacman -S yaml-cpp
pacman -Syu yaml-cpp
You must not do this (it may break your system):
pacman -Sy followed by pacman -S yaml-cpp
pacman -Sy yaml-cpp

google caja not building

Where can I download the file html-css-sanitizer-minified.js? I'd rather download the file than build caja myself. Reason: I tried building caja and got the errors below. Any Clues?
Version.set:
[exec] Execute failed: java.io.IOException: Cannot run program "tools\svnve
rsion-nocolon": CreateProcess error=2, The system cannot find the file specified
Version.update:
build.info:
HtmlParser:
[javac] Compiling 55 source files to c:\google-caja\third_party\java\htmlpar
ser\lib
[javac] error: error reading c:\google-caja\third_party\java\jetty\lib\jetty
-util.jar; error in opening zip file
[javac] error: error reading c:\google-caja\third_party\java\jetty\lib\jetty
.jar; error in opening zip file
[javac] 2 errors
BUILD FAILED
Thank you
Caja doesn't build on Windows. You can get the latest version of the sanitizer here:
http://www.gstatic.com/caja/5030/html-sanitizer-minified.js