Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

error:03000086:digital envelope routines::initialization error

// add this to package.json, check source for more info:

"scripts": {
    "start": "react-scripts --openssl-legacy-provider start",
    "build": "react-scripts --openssl-legacy-provider build",
 }
Comment

error:03000086:digital envelope routines::initialization error

"scripts": {
    "start": "export SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts start",
    "build": "export SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts build"
}
Comment

error:03000086:digital envelope routines::initialization error

// Put this code on the top of the
// >> node_modules/webpack/lib/util/createHash.js
// "createHash.js" is a file name, find it and paste below code 

const crypto = require("crypto");
const originalCreateHash = crypto.createHash;

crypto.createHash = (...args) => {
  if (args[0] == 'md4') {
    return originalCreateHash('md5');
  }

  return originalCreateHash(...args);
};

// Tested on Fedora 36 with Node 16.
Comment

PREVIOUS NEXT
Code Example
Javascript :: Select at random from array 
Javascript :: display none js 
Javascript :: react native clear cach 
Javascript :: UnhandledPromiseRejectionWarning: MongoParseError: URI does not have hostname, domain name and tld 
Javascript :: Unable to resolve module react-navigation 
Javascript :: skip import angular 6 
Javascript :: get text of selected option jquery 
Javascript :: go to page jquery 
Javascript :: ng serve host 0.0.0.0 
Javascript :: how to set an attribute to ignore null value json c# 
Javascript :: javascript check if blank space 
Javascript :: load node by id drupal 8 
Javascript :: add comma to number javascript 
Javascript :: mouseover angular 6 
Javascript :: jquery select outer html 
Javascript :: javascript int max 
Javascript :: javascript time execution 
Javascript :: generate otp using javascript 
Javascript :: react native rotate image 
Javascript :: if str contains jquery 
Javascript :: iframe getelementbyid 
Javascript :: space between react native 
Javascript :: change background colour jquery 
Javascript :: react native build android apk 
Javascript :: jquery disable select 
Javascript :: angular for loop key value 
Javascript :: sequelize undo last migration 
Javascript :: jquery get element id 
Javascript :: jquery reset form 
Javascript :: javascript replace all characters except letters and numbers 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =