Skip to content

References to all assets/... images stop working in version beta.16 #2548

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

Closed
hakonamatata opened this issue Oct 6, 2016 · 3 comments
Closed

Comments

@hakonamatata
Copy link

As soon as I upgrade to version 16 I get a ton of errors, for every image in the application.

angular-cli: 1.0.0-beta.16
node: 6.5.0
os: win32 x64

Repro steps.

Just upgraded to version 16

The log given by the failure.

ERROR in ./src/app/home/home.component.html
Module not found: Error: Can't resolve '../assets/img/default-50x50.gif' in 'C:\ng\anbud\src\app\home'
 @ ./src/app/home/home.component.html 1:3824-3866
 @ ./src/app/home/home.component.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi main

ERROR in ./src/app/home/home.component.html
Module not found: Error: Can't resolve './assets/img/jan160x160.jpg' in 'C:\ng\anbud\src\app\home'
 @ ./src/app/home/home.component.html 1:6670-6708
 @ ./src/app/home/home.component.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi main

ERROR in ./src/app/home/home.component.html
Module not found: Error: Can't resolve './assets/img/user8-128x128.jpg' in 'C:\ng\anbud\src\app\home'
 @ ./src/app/home/home.component.html 1:7955-7996
 @ ./src/app/home/home.component.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi main

ERROR in ./src/app/home/home.component.html
Module not found: Error: Can't resolve './assets/img/user1-128x128.jpg' in 'C:\ng\anbud\src\app\home'
 @ ./src/app/home/home.component.html 1:9265-9306
 @ ./src/app/home/home.component.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi main

ERROR in ./src/app/home/home.component.html
Module not found: Error: Can't resolve './assets/img/user2-160x160.jpg' in 'C:\ng\anbud\src\app\home'
 @ ./src/app/home/home.component.html 1:10583-10624
 @ ./src/app/home/home.component.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi main

For now I'll run version 15...

@monojack
Copy link
Contributor

monojack commented Oct 6, 2016

check #2396

@hakonamatata
Copy link
Author

Yes, it's a duplicate of #2396

@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