Comments (1)
I was able to resolve this issue.
I was originally using node v.17.0.1 and assumed that reverting to 16.13.0 might have a positive impact given the error message. However, when I removed node and reinstalled v16.13.0 using nvm, I still received the same error and the error appeared to indicate that node v.17.0.1 was still involved...
The error appears to be related to the attempted use of the deprecated MD4 hash after updating npm to v8.1.3 and the error message is simply a bit misleading as there is no longer v17.0.1 installed.
More digging returned some helpful information here. The answer posted by Cheshiremoe indicates that this code should be added to node_modules\react-scripts\config\webpack.config.js
const crypto = require("crypto"); const crypto_orig_createHash = crypto.createHash; crypto.createHash = algorithm => crypto_orig_createHash(algorithm == "md4" ? "sha256" : algorithm);
Once I added this code, npx cdk deploy
no longer returns this error.
yarn v1.22.17
node v16.13.0 (lts)
npm v8.1.3
cdk v1.130.0
from ps-serverless-app.
Related Issues (20)
- Can't run the p1 path HOT 1
- npx cdk deploy on p3 gives Could not Resolve 'lambda-micro' and 'ksuid' HOT 2
- List of tuck.cc links anywhere HOT 1
- Cannot create initial build, app policy AdministratorAccess not valid HOT 4
- Suggestion: Check for required installed apps etc, issue newbie-friendly message HOT 1
- p3: Cannot find 'path' HOT 2
- Region hardcoded in Ghostscript layer: Comment includes fix/workaround HOT 2
- Suggestion/research: Security - "Prevent requests from accessing API directly" HOT 1
- Suggestion/research: Security - Help manage security by adding response headers to CloudFront HOT 1
- P1 Final Building and Deploying the React Web App fails
- Unable to deploy - npx cdk deploy HOT 5
- WebApp Deployment Failed HOT 4
- TypeError: Cannot read properties of undefined (reading 'apiEndpoint') HOT 2
- Summary of tools setup/install in Readme file
- Some issues encountered: Tools and runtime error
- Typo in
- Expected params.Destination.ToAddresses to be an Array
- EACCES Permissions issue on initial deploy. HOT 1
- Issue deploying the p2 branch: `EACCES: permission denied, unlink '/asset-input/webapp/build/favicon.ico'`
- Unable to bootstrap CDK [p1]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ps-serverless-app.