Skip to content

Nativescript 7.0 (tns 7.0.3) is not working. #7

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

Open
alonstar opened this issue Sep 2, 2020 · 1 comment
Open

Nativescript 7.0 (tns 7.0.3) is not working. #7

alonstar opened this issue Sep 2, 2020 · 1 comment

Comments

@alonstar
Copy link

alonstar commented Sep 2, 2020

Hi,

I found nativescript-app-sync-cli will check project.json file needs to have "nativescript", but new project.json removed it. And the appResourcesPath setting is wrong while checking..

package.json


{
  "name": "@nativescript/template-hello-world-ng",
  "main": "main.js",
  "version": "7.0.0",
  "author": "NativeScript Team <[email protected]>",
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "nativescript",
    "mobile",
    "angular",
    "{N}",
    "template"
  ],
  "repository": "<fill-your-repository-here>",
  "bugs": {
    "url": "https://github.com/NativeScript/NativeScript/issues"
  },
  "scripts": {
    "ngcc": "ngcc --properties es2015 module main --first-only",
    "postinstall": "npm run ngcc"
  },
  "dependencies": {
    "@angular/animations": "~10.0.0",
    "@angular/common": "~10.0.0",
    "@angular/compiler": "~10.0.0",
    "@angular/core": "~10.0.0",
    "@angular/forms": "~10.0.0",
    "@angular/platform-browser": "~10.0.0",
    "@angular/platform-browser-dynamic": "~10.0.0",
    "@angular/router": "~10.0.0",
    "@nativescript/angular": "~10.0.0",
    "@nativescript/core": "~7.0.0",
    "@nativescript/theme": "~2.3.0",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.6.0",
    "zone.js": "~0.11.1"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~10.0.0",
    "@nativescript/types": "~7.0.0",
    "@nativescript/webpack": "~3.0.0",
    "@ngtools/webpack": "~10.0.0",
    "typescript": "~3.9.0"
  },
  "gitHead": "9905b5001bf6c07e1bb26e84c4bcc62db11181dc",
  "private": "true",
  "readme": "NativeScript Application"
}

nativescript.config.ts

import { NativeScriptConfig } from '@nativescript/core';

export default {
  id: 'org.nativescript.SecurityToken2',
  appResourcesPath: 'App_Resources',
  android: {
    v8Flags: '--expose_gc',
    markingMode: 'none'
  }
} as NativeScriptConfig;
@Puracy
Copy link

Puracy commented Nov 16, 2020

+1 , we got the same issue. Do you have any updates?

This was referenced Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants