Closed Garvice closed 8 years ago
What folder structure did you expect? @UndeadBaneGitHub is something possibly malfunctioning in the mean-module subgenerator?
Also, I think when we went over this line https://github.com/meanjs/generator-meanjs/blob/master/mean-module/index.js#L153, you only had it create 1 folder, but none of the other folders from the server prompt are ever created. Shouldn't that server part look like the client part but with different names and paths?
@ilanbiala I took the folders structure from the latest MEAN version. I will re-check if something accidentally got overlooked.
Also, subgenerator did create all the folders on both Winfows 10 and Debian machines that I have - and tests cover them. Unless I overlooked something in structure, everything should be fine.
@ilanbiala @UndeadBaneGitHub It seems like this line should be creating the module's /server
folder, and then somewhere below that conditional block, the other folders (based on what the user selected) should be created.
As Ilan pointed out, it looks like it will only create the /server/config
folder.
Running the sub -generator for mean-module does not create the folder structure or the content I would expect.
Am I doing something wrong? I first cloned the repository into the original generator location and ran npm install.
Here are the commands and output as well as content created.