Reply To: CANNOT GET / Error – APP

#46101

Kenedy
Participant

I did all that, and now I am getting the same cannot get / and this:

C:\Users\Kenedy\Documents\Ionic\projectname>ionic serve
> ng.cmd run app:serve –host=localhost –port=8100
[ng] i 「wds」: Project is running at http://localhost:8100/webpack-dev-server/
[ng] i 「wds」: webpack output is served from /
[ng] i 「wds」: 404s will fallback to //index.html
[ng] chunk {main} main.js, main.js.map (main) 1.91 kB [initial] [rendered]
[ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 154 kB [initial] [rendered]
[ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
[ng] chunk {styles} styles.js, styles.js.map (styles) 821 bytes [initial] [rendered]
[ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 340 kB [initial] [rendered]
[ng] Date: 2020-03-11T03:11:18.603Z – Hash: 4de6afad715a25245b84 – Time: 4193ms
[ng]
[ng] ERROR in multi ./src/theme/variables.scss ./src/global.scss
[ng] Module not found: Error: Can’t resolve ‘C:\Users\Kenedy\Documents\Ionic\projectname\src\global.scss’ in ‘C:\Users\Kenedy\Documents\Ionic\projectname’
[ng] ERROR in multi (webpack)-dev-server/client?http://0.0.0.0:0/sockjs-node&sockPath=/sockjs-node ./src/main.ts
[ng] Module not found: Error: Can’t resolve ‘C:\Users\Kenedy\Documents\Ionic\projectname\src\main.ts’ in ‘C:\Users\Kenedy\Documents\Ionic\projectname’
[ng] ERROR in multi ./src/polyfills.ts ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js
[ng] Module not found: Error: Can’t resolve ‘C:\Users\Kenedy\Documents\Ionic\projectname\src\polyfills.ts’ in ‘C:\Users\Kenedy\Documents\Ionic\projectname’
[ng] ERROR in multi ./src/theme/variables.scss ./src/global.scss
[ng] Module not found: Error: Can’t resolve ‘C:\Users\Kenedy\Documents\Ionic\projectname\src\theme\variables.scss’ in ‘C:\Users\Kenedy\Documents\Ionic\projectname’
[ng] ERROR in Must have a source file to refactor.

[INFO] Development server running!

Local: http://localhost:8100

Use Ctrl+C to quit this process

[INFO] Browser window opened to http://localhost:8100!

[ng] i 「wdm」: Failed to compile.