Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find app.module.ts file in project generated by CLI #1716

Closed
NathanLawrence opened this issue Aug 16, 2016 · 2 comments
Closed

Cannot find app.module.ts file in project generated by CLI #1716

NathanLawrence opened this issue Aug 16, 2016 · 2 comments

Comments

@NathanLawrence
Copy link

I can't believe I'm going to be that guy that drives everyone nuts and posts a question in the issues, but I've done absolutely everything I can think of and still can't find the app.module.ts file for my project -- in fact, I can't find any files at all in the project that contain an import for NgModule at all!

I know I'm being stupid about this -- in fact, I know I'm being so stupid about this that the reason I haven't found anything is that nothing else has been stupid enough for there to be a searchable record of an issue like this. Does anybody have a second to explain my mistake?

angular-cli: 0.0.39
node: 5.3.0
os: darwin x64 (OS X 10.11.6)

@TheLarkInn
Copy link
Member

Now I noticed that you have 0.0.39 reported in your version. (Thank you this was very helpful to potentially identify your issue). I would recommend that you update the angular-cli to the latest version npm install angular-cli@webpack -g

You can refer to our WEBPACK UPGRADE docs to properly migrate.

Also if you create a new app you will find the app.module.ts located in the app folder of your src.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants