Skip to content

Fix Asyncify npm command is broken #3472

Description

@mho22

npm run fix-asyncify runs node packages/php-wasm/node/bin/rebuild-while-asyncify-functions-missing.mjs

which runs test-php-asyncify-all internally via :

const result = spawnSync(
	'node',
	[
		'--stack-trace-limit=100',
		'./node_modules/.bin/nx',
		'test-php-asyncify-all',
		'php-wasm-node',
	],
	{
		env: {
			...process.env,
			PHP: PHP_VERSION,
			FIX_DOCKERFILE: 'true',
		},
	}
);

There is no more test-php-asyncify-all test so it returns :

 NX   Cannot find configuration for task php-wasm-node:test-php-asyncify-all

Since the documentation indicates that we add missing asyncify functions, should we remove that command and file instead ?

Metadata

Metadata

Assignees

No one assigned

    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