Comments (6)
This typically happens when there's multiple copies of @angular/core
present, as tracked in #35586. I don't have sufficient insight into your situation to judge whether this is the case here as well, so please provide a runnable reproduction.
from angular.
I agree with @JoostK, I had a similar issue when I was testing and linking the framework repo with the local repo during my tests.
from angular.
Thanks for the replies. I have worked out what is causing it in my environment, but not sure if there's a resolution.
I have a persisted SUBST 'drive' in my machine (https://en.wikipedia.org/wiki/SUBST#Registry_(DOS_Devices))
This means that files at C:\Users\Me\Documents\Source are also at S:\
When I run the Angular app by ng serve
from the S: drive, it fails. When I run it from the C: drive, it succeeds. So it's something to do with this symbolic link. It only affects ng serve
- not ng build
. It hasn't previously been a problem (in other versions of Angular), but I guess there's something new in the build/serve code?
I have a workaround, but it would be good to know of a proper solution.
I guess it might be related to this: vitejs/vite#10802
from angular.
I am not familiar with drive-mapped directories, but if they behave like symlinks then the preserveSymlinks
option may affect how this works.
from angular.
Yes, thank you, setting preserveSymlinks
to true in my angular.json (at projects.my-project.architect.build.options.preserveSymlinks
) seems to have solved it.
from angular.
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.
from angular.
Related Issues (20)
- Computed signal and effect don't recompute if non signal boolean value included in computation as first check in condition. HOT 7
- Clear terminal when running projects HOT 1
- After Upgrade to Angular 17 loader not working which added in app.component.html file HOT 4
- Type for @NgModule.imports is not compatible with recommended standalone group export HOT 1
- Disable dev tools by code? HOT 1
- Make font of the documentation bigger HOT 1
- Future of fake timer testing in a zoneless world
- Angular.dev Playground is broken HOT 1
- Angular SSR don't render HOT 6
- Angular.dev doesn't cover Resolvers or how to fetch dynamic data
- Angular.dev show v0 instead of the latest version v17 HOT 4
- NullInjectorError in combination with standAlone is very unclear? HOT 3
- Router Outlet won't work if router link is in ngTemplate HOT 2
- NullInjectorError: No provider for Firestore2! HOT 1
- angular.dev: youtube embeds are being blocked on firefox
- reading required signal input from effect causes error NG0950 when done inside structural directive creating an embedded view after promise resolves HOT 5
- withComponentInputBinding doesn't work as excepted with input signals HOT 1
- Angular 17 @for has memory leak HOT 1
- Reactive forms directives should be standalone HOT 1
- Rename Change detection "Default"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular.