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.

Tabris does not recognize other start script except app.js

See original GitHub issue

Problem description

I noticed that the nightly build v3.rc cli does not change from the default src/app.js specified in the package.json

Expected behavior

I tried to point the main entry script to another file but app still loads from src/app.js

Environment

  • Tabris.js version: @nightly
  • Device: Samsung Galaxy
  • OS: Android 6

Code snippet

// A minimal, *self-contained* code snippet to reproduce the problem:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cookiegurucommented, Apr 6, 2019

You may need to re-run tabris serve after changing it. See also the serve options to enable logging or to override the main field.

0reactions
josiahkingcommented, Apr 10, 2019

Thanks @cookieguru Your solution work just as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building a Tabris.js App
When a Tabris.js app is built, build scripts given in the package.json are executed before the JavaScript code is bundled into the app....
Read more >
Patching Mobile Apps in Tabris.js - EclipseSource
The fix may be simple, but rolling out another version takes some time for app store review and users to install the update....
Read more >
'react-scripts' is not recognized as an internal or external ...
It is an error about react-scripts file missing in your node_modules/ directory at the time of installation. Check your react-script ...
Read more >
Auto reload does not detect changes to index.js #9984 - GitHub
I have used fresh apps using npx create-react-app and yarn create react-app separately. The issue is there on both apps. $ npm --version...
Read more >
tabris-cli - npm
Starts a server the Tabris.js developer app can be pointed to. If a build script is present in package.json, it is executed beforehand....
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