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

esbuild fails when run from network path #26469

Closed
mcalmus opened this issue Nov 23, 2023 · 7 comments
Closed

esbuild fails when run from network path #26469

mcalmus opened this issue Nov 23, 2023 · 7 comments
Labels
needs: more info Reporter must clarify the issue

Comments

@mcalmus
Copy link

mcalmus commented Nov 23, 2023

Which @angular/* package(s) are the source of the bug?

compiler-cli

Is this a regression?

No

Description

esbuild fails with

[ERROR] The entry point "//path/to/file.css" cannot be marked as external [plugin angular-compiler]

when run from a path on a network share

rmReproduced using a bare “ng new” project on Windows 10 from a mapped network drive. Everything works fine when moved to a local drive.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

[ERROR] The entry point "//path/to/file.css" cannot be marked as external [plugin angular-compiler]

Please provide the environment you discovered this bug in (run ng version)

Angular 17

Anything else?

No response

@mcalmus mcalmus changed the title rebuild fails when run from network path esbuild fails when run from network path Nov 23, 2023
@JoostK JoostK transferred this issue from angular/angular Nov 23, 2023
@alan-agius4
Copy link
Collaborator

I suspect this might have the same root cause of #26379

Can you kindly try to update node_modules/@angular-devkit/build-angular/src/builders/application/options.js with the contents in https://gist.github.com/alan-agius4/7dcb48c5adccb1f2fb54cfbef3403689 and see if it solves the problem?

@alan-agius4 alan-agius4 added the needs: more info Reporter must clarify the issue label Nov 23, 2023
@alan-agius4
Copy link
Collaborator

Is still still a problem with 17.0.5?

@alan-agius4
Copy link
Collaborator

Closing due to the lack of confirmation.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2023
@mcalmus
Copy link
Author

mcalmus commented Dec 5, 2023

@alan-agius4 I'm sorry I didn't respond sooner. I have been unable to test with 17.0.5, but it continued to fail using the file from the gist. I will test with 17.0.5 as soon as our workplace NPM mirror has been updated.

@mcalmus
Copy link
Author

mcalmus commented Dec 6, 2023

Verified this as fixed in 17.0.5.

@alan-agius4
Copy link
Collaborator

Glad to hear that.

@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 Jan 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: more info Reporter must clarify the issue
Projects
None yet
Development

No branches or pull requests

2 participants