Open Jasu opened 6 years ago
Hi
I noticed the same problem and did this workaround https://medium.com/@martinratinaud/docker-fails-to-build-due-to-not-found-types-node-9-4-2-918d60c2f79e
Hope this helps
My CI failed due to this as well.
Not sure if this is the right way to do things, so feedback is appreciated. My solution for now is deleting my package-lock.json
, and run npm i
to update modules given their version limits in the package.json
. It updated @types/node
to version 10.3.2.
Looking further, It stems from a dependency chain of:
cheerio
> parse5
> @types/node
.
jest
> jest-cli
> jest-environment-jsdom
> parse5
> @types/node
.
We don't actually use cheerio, so I could just remove that package, but the issue with jest still remains.
These packages did previously work, now they don't: