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

ERROR in multi main Module not found: Error: Can't resolve 'D:\' #3529

Closed
kolkov opened this issue Dec 12, 2016 · 8 comments
Closed

ERROR in multi main Module not found: Error: Can't resolve 'D:\' #3529

kolkov opened this issue Dec 12, 2016 · 8 comments

Comments

@kolkov
Copy link

kolkov commented Dec 12, 2016

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Windows 10

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

D:\!Projects\TypeScript\test\ui-router-ng2>ng --version
angular-cli: 1.0.0-beta.22-1
node: 7.2.1
os: win32 x64

No any changes in code.
image

@kolkov
Copy link
Author

kolkov commented Dec 12, 2016

My angular-cli not working today. Yesterday all is ok, but today nothing helped (
I tried all combination of versions, deinstalling all local and global node_modules etc., but nothing good happened (((
I did not change anything in the source code.
image
My mind flew on rocket! :(
image

@kolkov
Copy link
Author

kolkov commented Dec 13, 2016

Today I install node 7.2.1 and angular-cli 22-1 on my second notebook and everything works as it should.
Where can I find the cause of the errors?

@kolkov
Copy link
Author

kolkov commented Dec 13, 2016

I have found what causes this problem
For all new test projects I used root path D:\!Projects\TypeScript\tests.
If I understand correctly, you filter out the character ! from path,
https://github.com/angular/angular-cli/blob/master/packages/%40ngtools/webpack/src/plugin.ts#L116
but ! is legal character in Windows path.
For reference:
https://msdn.microsoft.com/ru-ru/library/windows/desktop/aa365247(v=vs.85).aspx

Please correct this!
Thanks!

@n0v1
Copy link

n0v1 commented Dec 14, 2016

Please see #3468.

@kolkov
Copy link
Author

kolkov commented Dec 14, 2016

Thanks! It's not a project name, is's path to project.

@filipesilva
Copy link
Contributor

@hansl see #3529 (comment)

@hansl hansl removed their assignment Feb 6, 2018
@alan-agius4
Copy link
Collaborator

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.

If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.

@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 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants