Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Is your app declaration contained in 'app.js'?

$
0
0

@MattArnold93 wrote:

Trying to add the platform webservice to my app, and I keep getting this error:

ERROR:  Error: ENOENT, open './www/js/app.js'
    at Error (native)
Is your app declaration contained in 'app.js'?

I've done some research and it looks like I need to force ionic to look at my custom file structure, as opposed to the structure its currently looking for. The flow of my file structure leading to app.js would look like this:

./www/scripts/app.js

How can I either change the build folder from "scripts" to "js", or change ionic to look for "scripts" instead of "js"? All help would be greatly appreciated, thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>