You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR in Error: Could not resolve module D:/C
at StaticSymbolResolver.getSymbolByModule (D:\C#\Practices\Udemy Courses\Dating.SPA\node_modules\@angular\compiler\bundles\compiler.umd.js:29757:30)
at StaticReflector.resolveExternalReference (D:\C#\Practices\Udemy Courses\Dating.SPA\node_modules\@angular\compiler\bundles\compiler.umd.js:31594:62)
at parseLazyRoute (D:\C#\Practices\Udemy Courses\Dating.SPA\node_modules\@angular\compiler\bundles\compiler.umd.js:29043:55)
at AotCompiler.listLazyRoutes (D:\C#\Practices\Udemy Courses\Dating.SPA\node_modules\@angular\compiler\bundles\compiler.umd.js:31134:43)
at AngularCompilerProgram.listLazyRoutes (D:\C#\Practices\Udemy Courses\Dating.SPA\node_modules\@angular\compiler-cli\src\transformers\program.js:156:30)
at Function.NgTools_InternalApi_NG_2.listLazyRoutes (D:\C#\Practices\Udemy Courses\Dating.SPA\node_modules\@angular\compiler-cli\src\ngtools_api.js:44:36)
at AngularCompilerPlugin._getLazyRoutesFromNgtools (D:\C#\Practices\Udemy Courses\Dating.SPA\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:248:66)
at Promise.resolve.then.then (D:\C#\Practices\Udemy Courses\Dating.SPA\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:565:50)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
webpack: Failed to compile.
Desired behavior
This is the first time I try the angular app, I was thinking it should be easy to create and run new demo app. But the errors cannot give me any clues to solve my problem, so I'm posting here to ask if I wrong somewhere one creating and running it. I deleted the node_modules folder and run npm install but still not solve it.
The text was updated successfully, but these errors were encountered:
I think I found the issue. It looks like the angular app cannot run on the special character path, in my case is # in C#. I don't know it is a bug or not because in Windows, # is a valid character for the path.
Thank you!
I have a folder named "#8 - Projects" and the angular could not run.
I know It's not recommended to use special character on folders name, but I didn't have problems with that. Always typing "#8 - Projects"/_project_name/etc
Versions
Node Versions
NPM Versions
Repro steps
Install Angular with:
npm install -g @angular/cli
Create a new app with:
ng new Dating.SPA
Navigate to the app folder:
cd Dating.SPA
Run application with:
ng serve
Observed behavior
Desired behavior
This is the first time I try the angular app, I was thinking it should be easy to create and run new demo app. But the errors cannot give me any clues to solve my problem, so I'm posting here to ask if I wrong somewhere one creating and running it. I deleted the
node_modules
folder and runnpm install
but still not solve it.The text was updated successfully, but these errors were encountered: