Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tscc is not working with macOS Ventura #854

Open
opozo opened this issue Mar 16, 2023 · 0 comments
Open

tscc is not working with macOS Ventura #854

opozo opened this issue Mar 16, 2023 · 0 comments

Comments

@opozo
Copy link

opozo commented Mar 16, 2023

tscc
TSCC: Module option is set. tsickle converts TypeScript modules to Closure modulesvia CommonJS internally, so it will be overridden to "commonjs".
TSCC: --outDir option is set, but it is no-op for tscc.Use prefix option in spec file to control output directory.
TSCC: --rootDir is set, but it is no-op for tscc. It will internally set to /.
TSCC: tsickle uses a custom tslib optimized for closure compiler. importHelpers flag is set.
⠍⠁ Closure Compilernode:events:491
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
Emitted 'error' event on Socket instance at:
    at Socket.onerror (node:internal/streams/readable:785:14)
    at Socket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v18.14.2

tscc.spec.json is:

{
	"modules": {
		"out": "./main.ts"
	},
	"external": {
		"angular": "angular"
	},
	"prefix": "../min/tscc"
}
  • macOS: Ventura 13.2.1
  • Tried with google-closure-compiler-20230206.0.0 and google-closure-compiler-20190819.0.0
  • Tried with Node.js v18.14.2, Node.js v11.0.0, Node.js v12.0.0, and Node.js v14.0.0
@opozo opozo changed the title Ot"google-closure-compiler": "20230206.0.0" It's not working with google-closure-compiler-20230206.0.0 Mar 16, 2023
@opozo opozo changed the title It's not working with google-closure-compiler-20230206.0.0 tscc is not working with macOS Mar 17, 2023
@opozo opozo changed the title tscc is not working with macOS tscc is not working with macOS Ventura Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant