I have to face a problem when creating a new project in angular. When I run a new myapp command, I get the following command
ng new hello
Error: Path "/app/app.module.ts" does not exist. Path "/app/app.module.ts" does not exist.
can someone help me?
Here is the solution
Please make sure that your new folder have write permission
if you are using ubuntu run the below command in this folder
sudo chmod 644 -R foldername
then run ng new appname
and also check the version of node
Fixed by simply deleting all the node_module folders on my drive:
. , .
, , . .
This means that the folder in which you are creating the angular project is corrupted. The same team will work in a different way.
My explanation for this “black magic” of a damaged folder, as mentioned in @prathiba palanisami, is that you may have node modules “damaged” from an old installation in your own folder.
Source: https://habr.com/ru/post/1690595/More articles:Adjust the size of the Shiny embedded application in the Rmarkdown document - rCan JavaFX initially display OS notifications? - javaapi-ms-win-core-path-l1-1-0.dll missing error in CosmosDB emulator - azure-cosmosdbКак отсортировать дату с dd-MMM-yyyy hh: mm tt format в datatable - javascriptjQuery DataTables - даты заказа по скрытому столбцу - javascriptKotlin app with Gradle app plugin - jvmПоля зрения в Daydream View 2017 - androidOpencvSharp LbgrtoLab - c #Xamarin Android Build Failed "Invalid value for outputAssembly" - androidSpark's PCA output doesn't match scikit-learn - pythonAll Articles