question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nativescript Angular Demo not working

See original GitHub issue

When i try to run the demo android app on a windows machine with the android studio emulator, i seem to get the following error after running npm run demo.android:

nativescript-plugin-firebase@7.7.0 package C:\Users\Jack\Desktop\Projects\nativescript-plugin-firebase\src cd …/publish && ./pack.sh ‘.’ is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! nativescript-plugin-firebase@7.7.0 package: cd ../publish && ./pack.sh npm ERR! Exit status 1

Any ideas?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
NickIlievcommented, Jan 22, 2019

@Jxckaroo I’ve updated all dependencies to latest and the demo is working as expected on my side.

Here is the updated package.json

  "dependencies": {
    "@angular/animations": "~7.1.0",
    "@angular/common": "~7.1.0",
    "@angular/compiler": "~7.1.0",
    "@angular/core": "~7.1.0",
    "@angular/forms": "~7.1.0",
    "@angular/http": "~7.1.0",
    "@angular/platform-browser": "~7.1.0",
    "@angular/platform-browser-dynamic": "~7.1.0",
    "@angular/router": "~7.1.0",
    "nativescript-angular": "^7.1.2",
    "nativescript-camera": "~4.1.1",
    "nativescript-imagepicker": "~6.0.6",
    "nativescript-plugin-firebase": "7.7.0",
    "nativescript-theme-core": "~1.0.4",
    "reflect-metadata": "~0.1.10",
    "rxjs": "~6.3.3",
    "tns-core-modules": "~5.1.2",
    "zone.js": "~0.8.28"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~7.1.0",
    "@ngtools/webpack": "~7.1.0",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "lazy": "1.0.11",
    "nativescript-dev-typescript": "~0.7.9",
    "nativescript-dev-webpack": "^0.19.0",
    "typescript": "~3.1.1"
  }
0reactions
ezpzlmnsqzy1commented, Jul 1, 2019

note: i had to run “pack.cmd” manually in “nativescript-plugin-firebase\publish” for tns run android --bundle to work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Tutorial - NativeScript Docs
This tutorial introduces you to the fundamentals of building a NativeScript app with Angular by walking you through building an example app with...
Read more >
NativeScript - Angular Application - Tutorialspoint
As NativeScript project are node based project, it stores all its dependencies in the node_modules folder. We can use npm (npm install) or...
Read more >
Nativescript-angular http post request not working & no error ...
2.) Make sure you are importing the NativeScriptHttpClientModule as shown in the documentation. Example here github.com/NickIliev/nativescript- ...
Read more >
Nativescript HelloWorld Example App with Angular
Building the First NativeScript Application ... We will not use the ready to use templates provided by the NativeScript. Instead, we will build ......
Read more >
How to use Angular-CLI with NativeScript - Josh Hicks - Medium
The Angular CLI is a great tool that allows you to do things like 'generate' files ... However, this tool does not work...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found