Skip to content

Getting new errors with v5.0 #3967

@skopekreep

Description

@skopekreep

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Yes, but it may not have hit yet since this is an issue with a bleeding-edge version.

Background

With the update to Xcode 10 came some problems for the CLI...

Like Issue #3957, for example, which suggested as its solution upgrading to the CLI's next version (npm install -g nativescript@next)

I did that, and while it seems to have resolved that issue as promised, I'm seeing several new errors that are unique to CLI v.5.

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

  • CLI: before: 4.2.4, after: 5.0.0-2018-10-02-12369
  • Cross-platform modules: 4.2.0
  • Runtime(s): 4.2.0 for both
  • Plugin(s):
"dependencies": {
	"@angular/animations": "~6.1.0",
	"@angular/common": "~6.1.0",
	"@angular/compiler": "~6.1.0",
	"@angular/core": "~6.1.0",
	"@angular/forms": "~6.1.0",
	"@angular/http": "~6.1.0",
	"@angular/platform-browser": "~6.1.0",
	"@angular/platform-browser-dynamic": "~6.1.0",
	"@angular/router": "~6.1.0",
	"@ngrx/store": "^6.1.0",
	"nativescript-admob": "^2.0.0",
	"nativescript-angular": "^6.1.0",
	"nativescript-appversion": "^1.4.1",
	"nativescript-purchase": "^2.0.5",
	"nativescript-sound": "^1.0.4",
	"nativescript-vibrate": "^2.1.1",
	"reflect-metadata": "~0.1.10",
	"rxjs": "^6.0.0",
	"tns-core-modules": "~4.2.0",
	"zone.js": "^0.8.26"
},
"devDependencies": {
	"@angular/compiler-cli": "~6.1.6",
	"@ngtools/webpack": "~6.1.0",
	"@types/jasmine": "^2.8.8",
	"angular-tslint-rules": "^1.5.0",
	"codelyzer": "^4.4.4",
	"jasmine-core": "3.2.1",
	"karma": "3.0.0",
	"karma-jasmine": "1.1.2",
	"karma-mocha-reporter": "^2.2.5",
	"karma-nativescript-launcher": "0.4.0",
	"nativescript-dev-sass": "^1.6.0",
	"nativescript-dev-typescript": "~0.7.0",
	"nativescript-dev-webpack": "~0.15.0",
	"nativescript-tests-hook": "0.0.1",
	"nativescript-unit-test-runner": "^0.3.4",
	"tns-platform-declarations": "^4.2.0",
	"tslint": "^5.11.0",
	"typescript": "~2.7.2",
	"webpack": "^4.17.2"
}

Please tell us how to recreate the issue in as much detail as possible.

After upgrading to v5.0.0-2018-10-02-12369, the following new errors appear:

  1. Error while loading nativescript-angular-cli is: Default commands should be required before child commands

A simple tns command like tns --version throws this, as does building, running, ets on all platforms

  1. Unable to apply changes for device: XXX... Error is: cp: copyFileSync: could not write to dest file (code=EACCES): ...

Saving a modified file that triggers liveSync throws this error and liveSync fails.

Very excited for the stable 5.0 release. Hoping this feedback can hasten that day, and possibly fix some issues in the current build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions