cordova-plugin-toast
cordova-plugin-toast copied to clipboard
toast.js not found after installation and build (OSX)
Hi :) I want to use your awesome framework, but I am having some issues after installing and configuring everything. Perhaps, I am doing something wrong or perhaps there is an issue when i run browser emulator on my MacBook ?



I followed the docs and i also used the compile command https://github.com/Samsung/cordova-plugin-toast/wiki/Prepare-to-start#compile
Any ideas ? The project structure is correct ?
cordova.js is loaded perfectly, i am only having trouble with toast.js.
Thanks in advace! Looking forward to use your library :)
Hi, I tried again to install the app by executing the .sh in OSX.
The installation was good but when i was trying to grunt compile
i was getting errors that a node package was missing. First it was the 'inquirer' then several others like 'xml2js', 'js2xmlparser', 'mustache', 'zip-dir'.
After installing all these npm packages manually foreach folder, when i tried to grunt compile
finally i was asked about the name of the application, resolution and other details.
After I finished submitting all the details i run cordova emulate browser
and still toast.js
is giving me 404.
Any ideas ?
I have similar issues with npm modules such as xml2js and then mustache etc.
Can the contributors please give a reply on this issue as several people has this issue across many issues on github.
I ran the gettingStarted.sh
script - That is a good way to reproduce the error.
I am using npm 5.2.0 and node v8.9.0
@prozanne @heonie @sukyunglee @darangkim @pwsses
Hello everyone!
I just begun to develop a project for smart TVs using TOAST. And yes, at the begin I ran into several issues related to dependency installs. What solved my problems was to upgrade the dependencies. I ran $ npm audit to check what dependencies need to be upgraded and then i just upgrade them. After that i was able to build and emulate my app through $ sudo cordova build browser and $sudo cordova emulate browser. I hope this can help someone else.
@HelaGone what do you mean by npm audit, there is no such command in npm.
@dyanakiev mmm of course there is. Here: https://docs.npmjs.com/getting-started/running-a-security-audit https://docs.npmjs.com/cli/audit