Workstation setup
Working with Node.js
- Creating a multiplayer online card game with Node.js and Phaser 3
- Host a static web application in AWS S3
- Host the server container in an AWS ECS Fargate cluster
- Configure AWS Route 53 to host a web site in AWS
- Test Socket.IO connectivity
Node.js and containers
Troubleshooting
- FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- SyntaxError: The requested module ‘dotenv’ does not provide an export named ‘default’
- Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath ‘./format/index.js’ is not defined by “exports” in …
- Uncaught TypeError: _helpers_formUtil__WEBPACK_IMPORTED_MODULE_6___default.a is not a constructor
- has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource
- Phaser 3 game sprites are not displayed on iOS, iPad and iPhone
- Error: EPERM: operation not permitted, rename
- Error: Route.post() requires a callback function but got a [object Undefined]
- DeprecationWarning: Access to process.binding(‘http_parser’) is deprecated.
- Error: EACCES: permission denied, open …
- Error: Cannot find module ‘…’ outside of the development environment
- Node.js application run and build error troubleshooting
- Error: EACCES: permission denied, rename ‘/usr/local/lib/node_modules
- Argument of type ‘(number | null)[]’ is not assignable to parameter of type ‘(err: Error, result: QueryResult) => void’