skip to Main Content

Html – [tag][error] TypeError: (0 , os_1.availableParallelism) is not a function

I am getting these errors when I tried to build the Angular project angular-errorw.log [error] TypeError: (0 , os_1.availableParallelism) is not a function at Object.<anonymous> (C:UsersanikeOneDriveecommerce-project3-frontendangular-ecommercenode_modulespiscinadistsrcindex.js:37:54) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require…

VIEW QUESTION

How to print an JSON string in javascript?

When I try to print console.log(body.email), the console says its undefined, but when I call console.log(body) it returns me {"email":"[email protected]","password":"Password"} here is the code below: document.getElementById("SingupForm").addEventListener('submit', evt =>{ evt.preventDefault() const form = evt.target const body =JSON.stringify({ email: form.elements.email.value, password: form.elements.password.value,…

VIEW QUESTION
Back To Top
Search