Closed elmar-hinz closed 1 year ago
Actually the npm run build
test does only cleanly work, if you run yarn install
first and npm install
thereafter. This is even depending upon the yarn.lock
.
Hence, package.json
needs to be fixed before removing the yarn dependencies.
Without the yarn.lock
file you get
=============
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.5.0
YOUR TYPESCRIPT VERSION: 4.9.4
Please only submit bug reports when using the officially supported version.
=============
(It only worked for node LTS 12 and node LTS 14. With LTS 16 there is already a deprecation warning. Above it is broken at all.)
Before yarn dependencies can be removed, some other conflicts of this template have to be resolved. I close it for now.
Remove
yarn.lock
andyarn-error.log
. A Template should not restrict to certain versions or even create a dependency of yarn.