-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error creating app from template #9
Comments
Try installing |
Thanks @breningham - yes @shawndewet depending on your app needs, you may want to install some supporting packages into the root of the workspace, ie:
After installing those at the root, you can simply navigate directly into the mobile app and run |
My problem is that after the "tns create" command I am executing fails with the message indicated above, the folder is empty....there is no package.json file into which the "npm i @angular/animations --save" can be installed and saved into. |
Uhg I had a brain fart...I just realised that for this to work I need to be in the "apps" folder of an existing nx workspace!!! Sorry for wasting your time! |
Ok, now I am running the "tns create" command from within the "apps" folder of my workspace, and I am getting this error:
Then from the root of the workspace, when I run "npm i @ngrx\effects --save", I get this:
What am I doing wrong? |
I found a different issue that also produced the same issue that the OP reported: I realized that in the nativeScript app's package.json file it was adding too many ..\ to the front of every file reference. By changing |
I get this error when I try creating an app from this template:
added 3 packages in 15.099s
npm ERR! code ENOLOCAL
npm ERR! Could not install from "....\node_modules@angular\animations" as it does not contain a package.json file.
Please advise what I am missing.
The text was updated successfully, but these errors were encountered: