eclipsesource / eclipsesource/tabris-js

`tabris run` and `tabris build` Raises Error

Open
#2,240 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

I have a working TabrisJs app (via `tabris serve`).

### The Problem

When I use `tabris build` or `tabris run` for iOS platform, npm raises error as the following:

```
jokorivai@Buyuts-2 id.co.jamkridasulsel-sbapp-tjs3.8.1 % tabris build ios
[./] npm run --if-present build:ios
[./] npm run --if-present build
[./] Copying Cordova files to build/cordova ...
[./] Removing old JavaScript files in build/cordova/www/app ...
[./] Copying JavaScript files to build/cordova/www/app ...
[build/cordova/www/app] npm ci --production

Usage: npm

where is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
explore, get, help, help-search, i, init, install,
install-test, it, link, list, ln, login, logout, ls,
outdated, owner, pack, ping, prefix, profile, prune,
publish, rb, rebuild, repo, restart, root, run, run-script,
s, se, search, set, shrinkwrap, star, stars, start, stop, t,
team, test, token, tst, un, uninstall, unpublish, unstar,
up, update, v, version, view, whoami

npm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overview

Specify configs in the ini-formatted file:
/Users/jokorivai/.npmrc
or on the command line via: npm --key value
Config info can be viewed via: npm help config

npm@5.5.1 /usr/local/lib/node_modules/npm

Did you mean one of these?
c
i
The command npm exited with 1
```

### Tabris Version

** Tabris -V shows 3.8.1
** The package.json has the following content (used to compile succesfully on TabrisJs-v3.6):
** OSX Catalina
** Node v3.9.0
** NPM v5.5.1

```
{
"main": "src/app.js",
"private": true,
"scripts": {
"test": "eslint .",
"start": "tabris serve -a"
},
"dependencies": {
"tabris": "~3.8.0",
"typescript": "3.8.x",
"tabris-decorators": "3.5.0",
"chart.js": "1.0.1",
"elementtree": "^0.1.7",
"shelljs": "^0.8.2",
"xcode": "^1.0.0",
"xml2js": "^0.4.22"
},
"devDependencies": {
"eslint": "^7.1.0"
}
}
```

Please aid me. Thank you 🙏

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.