Cannot GET/

This topic contains 7 replies, has 3 voices, and was last updated by  Robel Mehari 6 days, 11 hours ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #34877

    Robel Mehari
    Participant

    I just purchased the APP and downloaded it, and i followed every single steps you provided. When i extracted the download file from theme forest i got only two files (not like yours) 1 is _MACOSX and the second is ionic_src

    inside the _MACOSX there is only one file ._config,

    inside the ionic_src there is src filder and config.xml.

    the issue am facing is this.

    Installing necessary packages the first command is not working it says 

    <span style=”color: #444444; font-family: Poppins;”>npm ERR! code EINVALIDTAGNAME</span>

    <span style=”color: #444444; font-family: Poppins;”>npm ERR! Invalid tag name “ng2–dragula”: Tags may not have any characters that encodeURIComponent encodes.</span>

    <span style=”color: #444444; font-family: Poppins;”> </span>

    <span style=”color: #444444; font-family: Poppins;”>npm ERR! A complete log of this run can be found in:</span>

    <span style=”color: #444444; font-family: Poppins;”>npm ERR!     C:\Users\computer name\AppData\Roaming\npm-cache\_logs\2019-09-29T18_17_59_618Z-debug.log</span>

    <span style=”color: #444444; font-family: Poppins;”>PS D:\doc\ionic\Projectname></span>

    when i finished all the steps you recommended and tried to run the following command (ionic serve) in the command line says this

    > 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.88 kB [initial] [rendered]

    [ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 149 kB [initial] [rendered]

    [ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.09 kB [entry] [rendered]

    [ng] chunk {styles} styles.js, styles.js.map (styles) 16.7 kB [initial] [rendered]

    [ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 339 kB [initial] [rendered]

    [ng] Date: 2019-09-29T18:23:48.968Z – Hash: ed76136fbce926a33675 – Time: 3107ms

    [ng]

    [ng] ERROR in ./src/theme/variables.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref–15-3!./src/theme/variables.scss)

    [ng] Module build failed (from ./node_modules/sass-loader/lib/loader.js):

    [ng] undefined

    [ng] ^

    [ng]       File to import not found or unreadable: ionic.globals.

    [ng]       in D:\doc\ionic\Projectname\src\theme\variables.scss (line 5, column 1)

    [ng] ERROR in multi ./src/theme/variables.scss ./src/global.scss

    [ng] Module not found: Error: Can’t resolve ‘D:\doc\ionic\Projectname\src\global.scss’ in ‘D:\doc\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 ‘D:\doc\ionic\Projectname\src\main.ts’ in ‘D:\doc\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 ‘D:\doc\ionic\Projectname\src\polyfills.ts’ in ‘D:\doc\ionic\Projectname’

    [ng] ERROR in Must have a source file to refactor.

    the browser just print out (Cannot GET/)

    please need help, i will wait for your guide.

     

    #35038

    Alex
    Participant

    Similar problem, when i write Ionic Server i get the next error

    [ng] ERROR in multi ./src/theme/variables.scss ./src/global.scss

    [ng] Module not found: Error: Can’t resolve ‘C:\Escala\src\global.scss’ in ‘C:\Escala’

    [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:\Escala\src\main.ts’ in ‘C:\Escala’

    [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:\Escala\src\polyfills.ts’ in ‘C:\Escala’

    [ng] ERROR in multi ./src/theme/variables.scss ./src/global.scss

    [ng] Module not found: Error: Can’t resolve ‘C:\Escala\src\theme\variables.scss’ in ‘C:\Escala’

    [ng] ERROR in Must have a source file to refactor.

    #35058

    Scott Lang
    Keymaster

    Hi,

    It appears like there is some version or dependency missing.

    We are sharing our details which we use to configure our app: https://gist.githubusercontent.com/shubham-99fusion/afff746f96aff17cad7fa34aa6c00e0c/raw/2bcabecfe5af7652605511ce0a3bd10f4e908eea/ionic_info10_1_19

    Here is our package.json file: https://we.tl/t-fNcuOP8Rik

    #35121

    Robel Mehari
    Participant

    Hi,

    Can you tell where this package.json should be placed

    #35397

    Scott Lang
    Keymaster

    Hi,

    Package.json will go to root of your project refer this : http://prntscr.com/peo6wc

    #35715

    Robel Mehari
    Participant

    Hello,

    This app is not working something is not right about it, tried so many times not working, i still get the same error. by the way the the package is there.

    #35785

    Scott Lang
    Keymaster

    Hi,

    Basically you have to do: http://prntscr.com/pgx3ic

    Here is the instruction you have to follow. Also, you can follow this tutorial: https://wplms.io/course/getting-started-with-wplms-mobile-app

    #35892

    Robel Mehari
    Participant

    here is how i did it,

    first installed

    Java -git-Nod.js-angular-ionic, all from the url was provided in the course.

    created a folder called Doc>ionic. and then run the command ionic start MyApp -vs2 tabs, here i got option to choose take a look https://prnt.sc/phhvsw. i chose tabs, and installed the following http://prnt.sc/phhx3q, i unzipped  the app from codecanyon got this http://prnt.sc/phi4nq copied the ionic_src to the project and renamed it to src. created a new app in my website copied the ID, opened the project>scr>>services>Config.ts replaced  the url and the id saved it. when i test ionic serve it gives me the cannot get error.

     

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.