TypeError: Cannot read properties of undefined (reading ‘prompt’) at promptUser
I’m working through the Todo example in essential typescript. I can not get past this error when I get the to point of importing and using inquirer.
Docker build: npm WARN EBADENGINE Unsupported engine
Im building an image based on mcr.microsoft.com/devcontainers/python:0-3.11-bullseye
I have the following at the end of my docker file:
TypeScript import issue with npm package exporting custom errors
I have created an npm package where I defined custom error classes and exported them. However, when importing these classes into another project, TypeScript shows an error despite successful import.
Here’s the structure of my npm package: