-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When working on a project running ionic serve runs into the issue below in the browser
http://localhost:8100/build/main.js Failed to load resource: the server responded with a status of 404 (Not Found)
And I do not see any errors in the logs terminal.
When running ionic build
[19:41:14] uglifyjs failed: ENOENT: no such file or directory, open
'/Users/alejandrom/cajitas-cooks-app/www/build/main.js'
[19:41:14] ionic-app-script task: "build"
[19:41:14] Error: ENOENT: no such file or directory, open '/Users/alejandrom/cajitas-cooks-app/www/build/main.js'
I also ran ionic-app-scripts transpile; it finishes without outputting any errors in the terminal
Expected behavior:
I would expect for the site to be served and the app to be built. Or to see errors explaining why the build failed.
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.14
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.46
ios-deploy version: 1.9.0
ios-sim version: 5.0.9
OS: OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 8.1 Build version 8B62