Skip to content

[chapter 3] Library issues #182

@michaelklem

Description

@michaelklem

Note, that I am not starting from the 3-begin project, but continuing from my work starting at 1-begin.

  1. There is no mention of adding express or isomorphic-unfetch module. They are just part of the initial package.json file for the 3-begin code base. Coming from the 1-begin code base, there is no mention of the libraries express or isomorphic-unfetch to the project.

  2. Unable to compile server.ts until I updated the ts-node library as per:
    https://stackoverflow.com/questions/72488958/false-expression-non-string-value-passed-to-ts-resolvetypereferencedirective
    In chapter 3 you state to do the following:
    yarn add nodemon@^2.0.7 ts-node@^9.1.1 --dev

I was unable to get server.ts to successfully compile until I did the following to update the ts-node library.:
yarn upgrade ts-node-dev@latest ts-node@latest

which upgraded ts-node to 10.9.1 and then the server.ts code compiled.

Thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions