On z/OS, there seems to be an issue where ember generate does not generate the necessary files.
When running the test suite on z/OS:
2) Acceptance: ember generate in-addon-dummy
dummy blueprint foo:
Error: ENOENT: no such file or directory, open '/home/jolai/zos_fork/ember-cli/tmp/20221011-6129-psrjd9.p2bb/my-addon/blueprints/foo/index.js'
at Object.openSync (node:fs:609:3)
at Object.readFileSync (node:fs:474:35)
at FileHelper.get (node_modules/chai-files/src/file-helper.js:42:26)
at Context.<anonymous> (tests/acceptance/addon-dummy-generate-test.js:58:43)
I have tried testing this feature with both the CLI and by calling it programmatically.
The blueprints are created successfully on Linux but on z/OS, nothing is created.
Linux
$ ember new my_test
$ cd my_test
$ ember generate blueprint foo --dummy
installing blueprint
create blueprints/foo/index.js
$ ls blueprints/foo
index.js
$
z/OS
$ ember new my_test
$ cd my_test
$ ember generate blueprint foo --dummy
installing blueprint
$ ls blueprints/foo
ls: FSUM6785 File or directory "foo" is not found
$
Script.js
const ember = require('../helpers/ember');
let r2 = ember(['generate', 'blueprint', 'foo', '--dummy'])
Linux
$ node script.js
$ ls blueprints
foo
z/OS
$ node script.js
$ ls blueprints
ls: FSUM6785 File or directory "blueprints" is not found
Could someone point me to the code/components that generates the blueprint files?
Thanks
Output from ember version --verbose && npm --version && yarn --version:
Hi! The generate code is in ember-cli, while the blueprints are in various projects. We have never tested ember-cli on z/OS. We test on Ubuntu, MacOS and Windows.
On z/OS, there seems to be an issue where ember generate does not generate the necessary files.
When running the test suite on z/OS:
I have tried testing this feature with both the CLI and by calling it programmatically.
The blueprints are created successfully on Linux but on z/OS, nothing is created.
Linux
z/OS
Script.js
Linux
z/OS
Could someone point me to the code/components that generates the blueprint files?
Thanks
Output from ember version --verbose && npm --version && yarn --version: