Reading this guide
https://nx.dev/react/guides/js-and-ts is states
simply pass --js to all generate commands
Running
nx generate @nrwl/express:application communications --js
brings up error
Could not match option 'js' to the @nrwl/express:application schema.
I am on MacOSX Mojave
Node v12.14.1
Latest NX - just installed
Thanks
I'm just trying nx and I'm getting this same error.
Any news on this?
Any news? I am trying to create a node application with js, not ts. Why it is so hard, I am also getting the same error.
If you look at the options schema for the express application generator, you will notice that it does not, in fact, support the --js option. Caught me off guard as well. The docs are definitely overselling it :)
@ilkka I spend my whole day digging into so many things like debugging, js/ts, etc., none of them worked according to the documentation.
+1
Most helpful comment
If you look at the options schema for the express application generator, you will notice that it does not, in fact, support the
--jsoption. Caught me off guard as well. The docs are definitely overselling it :)