Angular-cli needs to be installed before creating project globally or locally, but as far I know every angular project has it's own node_modules with binaries and package-lock.json hence it is a complete installation itself. Today I started using npx for creating projects with temporary local angular-cli installation in cache. Afterwards it disappears and node_modules within created projects are sufficient to utilize angular-cli. Because of that I am not sure why do we need pre-installed cli. Can't angular just download packages right away and install itself with a project creation?
Why Angular 2+ need to be pre-installed before creating project since it has node_modules installed itself?
88 Views Asked by Piotr Bartoch At
0
There are 0 best solutions below
Related Questions in ANGULAR
- Is it possible to use ES5 JavaScript with Angular 2 instead of TypeScript?
- Module '"angular2/angular2"' has no exported member 'For'
- import syntax in typescript creating another js file in visual studio
- Separate ts file for imports
- How to use an AngularJS 2 component multiple times in the same page?
- injectables not working in angular 2.0 latest build 26
- Does angular2 bootstrap have a way to dynamically target elements like it does in angular 1.x
- Import {} from location is not found in VS Code using TypeScript and Angular 2
- Angular 2/Typescript: require not found
- ng-switch in Angular2
- Angular 2 import issue: "Zone already exported on window the object!"
- How to make FileReader work with Angular2?
- Writing the most basic Unit test in Angular 2?
- Angular2: Creating child components programmatically
- AngularJS - TypeError: Cannot read property 'canonicalUrl' of undefined
Related Questions in NODE-MODULES
- How to use preinstalled node modules from laravel-elixir in Laravel 5
- Using the shell provided with NodeJS
- How to determine what min/max node version my node app supports based on my dependencies
- scope of "this" in module.exports
- Why are npm install && npm install <pack-name> both required?
- How to reference node modules in AngularJs file
- NodeJS server side application deployment cosiderations
- What will be the flow of execution in this node.js code?
- How to read value from JSON object?
- Export NativeModules for NPM in React-Native
- Can you export multiple classes from a single Nodejs Module?
- Rendered HTML output using nodejs
- How can i import angular-2-local-storage in my angular 2 app (angular-cli)
- Electron + Angular2 - import modules
- how to install node modules for node app on public web server?
Related Questions in LOCAL-NODE-MODULES
- How to put webPack config file in to node modules?
- Do we need to install all plugins from scratch in Gatsby?
- Can't succeed in unexcluding node_modules in WebStorm Node React
- In angular, the size of my main.js file is 20mb and vendor.js file is 7mb, what could be the issue and how can I optimize my build?
- Using npm on a machine without internet access, but with lots of modules in mutiple node_modules directorties
- electron install error : Generated checksum for "electron-v2.0.2-win32-x64.zip" did not match expected checksum
- Visual Studio Code ionic "node_modules" unavailable
- Why Angular 2+ need to be pre-installed before creating project since it has node_modules installed itself?
- When I build docker image, i want to prevent installing node_modules in my local directory
- using a locally edited npm package
- How to update local node_module dependency and reload in another project?
- npm-cron issue with task.stop() from inside another function
- What is the best way to use local module in NodeJS Cloud Functions?
- How to allow a custom local node_module to navigate project file system?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?