Unable to load PlatformApi from platform. Error: Cannot find module 'q' (tabris build android failed)
See original GitHub issueProblem description
Unable to locate the underlying problem regarding to this error, whereby a module called ‘q’ could not be found.
Expected behavior
Expected behavior would be a successful run with android.apk file created
Environment
- Tabris.js version: ~3.2.1
Code snippet
-tabris init (following the simplest tabris app template)
// A minimal, *self-contained* code snippet to reproduce the problem:
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Cordova Unable to load platformapi - Stack Overflow
I have been having this issue for few days now. Cordova won't run in browser, error says browser ...
Read more >unable to load platformapi from platform. error: cannot find ...
unable to load platformapi from platform. error: cannot find module 'properties-parser'. cordova platform add ios [ruby-2.5.1] Using cordova-fetch for ...
Read more >How To Fix No Command Error In Android Phone - Hekedbay
Unable To Load Platformapi From Platform. Error: Cannot Find Module 'q' (tabris Build Android Failed). Most cell phones these days have ...
Read more >Unable to load PlatformApi - Builds - Bitrise Discussions
Unable to build Cordova project on ios / android. ... Unable to load PlatformApi from platform. Error: Cannot find module 'unorm'
Read more >iOS platform upgrade fails - Google Groups
But from my app directory, the iOS platform upgrade fails: home:~/dda/DDFlash 527# phonegap ... Error: Cannot find module 'shelljs'. at Function.Module.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This error has to do with building tabris project from a different drive(disk), other than the installed drive of cli. NOTE: deleting .tabris-cli doesn’t solve the issue but ensuring that both project and cli live in the same disk does.
I found out the issue is with nodist path. I decided to switch to nvm-window and now I can successfully run tabris init