Error: ENOENT: no such file or directory, open d:\ionic2app\www\index.html'
I am trying to run Ionic project using ionic serve, but facing Error: ENOENT : no such file or directory, open d:\ionic2app\www\index.html I have update ionic but still no luck.
Hello, thanks for opening an issue with us. Would you mind telling me what version of the ionic-cli you are using? You can just run ionic --version to get the version.
Ionic version is 2.1.0
I believe the reason for this is that the build step isn't being run. I'm still getting errors because ionic serve is looking for a gulpfile
probably this issue happens because of npm version. ionic requires npm version 3
I updated, uninstalled, and reinstalled
On Wed, Sep 28, 2016 at 3:41 PM comfortme
< mailto:comfortme [email protected]
wrote:
a, pre, code, a:link, body { word-wrap: break-word !important; }
probably this issue happens because of npm version.
ionic requires npm version 3
—
You are receiving this because you commented.
Reply to this email directly, https://github.com/driftyco/ionic/issues/8262#issuecomment-250292786 , or https://github.com/notifications/unsubscribe-auth/ABdfDusJHYANNhX1l2j79cKAVpHeuU1Kks5qutDegaJpZM4KJNO- .
@junaidahmed93 and @keithmattix what version of nodejs and NPM are you all running? Thanks!
I'm using nvm doing node 6.7.0 and npm 3.10.3
@keithmattix what version of the ionic cli are you using?
Hm, it says 2.0.0-beta.23...I just uninstalled and reinstalled today.
@jgw96 My Node version is 4.5 and npm 3.10.8
@keithmattix can you run npm uninstall -g ionic and npm install -g ionic. The beta flag is no longer required (: @junaidahmed93 are you getting this error with a beta.11 app or an RC.0 app?
@jgw96 I am getting this error with RC.0 app.
Same; mine is an rc.0 app
I am getting this error with RC.0 app.
It seems that the files of pages directory, is not compiling for the build folder.
@bergmito are you running Ionic cli version 2.1.0?
Yes, i'm running Ionic cli version 2.1.0.
Solve my problem, changing template url from components.
Before: templateUrl: 'build/pages/configs/configs.html', Now: templateUrl: 'configs.html',
Ah, I figured out my problem. My old nvm version didn't allow my ionic binary to update
@jgw96 , My problem is solved by updating ionic (nothing changes in version but app is working now strange). Thanks
Tanks for all
@bergmito you can check out our changelog update instructions for all the upgrade instructions. Since it seems like this issue was fixed for everyone I am going to close this issue for now. Thanks!