We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeecf85 commit 071a467Copy full SHA for 071a467
packages/angular/cli/src/package-managers/package-manager.ts
@@ -550,7 +550,7 @@ export class PackageManager {
550
// Some package managers, like yarn classic, do not write a package.json when adding a package.
551
// This can cause issues with subsequent `require.resolve` calls.
552
// Writing an empty package.json file beforehand prevents this.
553
- await this.host.writeFile(join(workingDirectory, 'package.json'), '{}');
+ // await this.host.writeFile(join(workingDirectory, 'package.json'), '{}');
554
555
const flags = [options.ignoreScripts ? this.descriptor.ignoreScriptsFlag : ''].filter(
556
(flag) => flag,
0 commit comments