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

npm:@angular/cli not working #22607

Closed
littledivy opened this issue Feb 27, 2024 · 3 comments
Closed

npm:@angular/cli not working #22607

littledivy opened this issue Feb 27, 2024 · 3 comments
Assignees
Labels
bug Something isn't working correctly node compat node resolution

Comments

@littledivy
Copy link
Member

littledivy commented Feb 27, 2024

divy@divy-macbook ~/gh> deno run -Ar npm:@angular/cli new test-app
? Which stylesheet format would you like to use? CSS
? Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? No
The encoded data is not valid.
@littledivy littledivy added bug Something isn't working correctly node compat labels Feb 27, 2024
@littledivy
Copy link
Member Author

littledivy commented Apr 20, 2024

It seems require.resolve is not working as expected when running from global cache i.e. deno run -A npm:@angular/cli

dsherret added a commit that referenced this issue May 1, 2024
…fier from paths not found (#23618)

Part of #22607 (probably closes it, but I haven't done thorough testing)

Makes it so that `require.resolve` with `paths` specified will fallback
to using the global cache when the paths can't be found when using a
global cache (not when using a node_modules folder)
@littledivy
Copy link
Member Author

image

another case of packages depending on non-standard error.code. This one for TextDecoder#decode

@littledivy
Copy link
Member Author

Fixed by angular/angular-cli#27570

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat node resolution
Projects
None yet
Development

No branches or pull requests

2 participants