> cross-env-shell "cd ../../../../../otherproject && npm ci build"
'..\..\..\otherproject ' is not recognized as an internal or external command,
operable program or batch file.
events.js:292
throw er; // Unhandled 'error' event
^
Error: spawn ..\..\..\otherproject && npm ci build ENOENT
at notFoundError (….\node_modules\cross-spawn\lib\enoent.js:6:26)
Note that only three sets of ".." are present in the error. Placing an absolute path in the command works, so the problem is restricted to the parsing of the parent directories.
cross-env
version: 7.0.2node
version: 12.18.0npm
(oryarn
) version: 6.14.5Multiple parent directories (in my case, 5) has been treated as 3
package.json
Output
Note that only three sets of ".." are present in the error. Placing an absolute path in the command works, so the problem is restricted to the parsing of the parent directories.