I’m using CML command: ionic serve
The project was developed for people wich are not here so we must get by …
ojalá pudiesemos lanzar la app en el browser o en el dispositivo porque eso nos ayudaría a avanzar.
Si todo nos fuese bien y la experiencia no fuese muy traumática, teniamos pensado aprender bien y comenzar nuevos desarrollos en IONIC (hasta ahora usabamos angular + cordova sólo)
Por favor, cualquier dato que veais me falte enviar para ayudar a determinar el problema pedidmelo, ahora estamos un poco perdidos y llevamso dos día intentando lanzar el proyecto en android o el browser.
This is de STACK TRACE of the error in the browser:
Error: Cannot find module “@app/env”
at Object.523 (http://localhost:8100/build/main.js:7000:7)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.472 (http://localhost:8100/build/main.js:6692:74)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.467 (http://localhost:8100/build/main.js:6654:70)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at webpackJsonpCallback (http://localhost:8100/build/vendor.js:26:23)
at http://localhost:8100/build/main.js:1:1
This is data about the project:
Ionic Framework: 3.7.1
Ionic App Scripts: 3.0.0
Angular Core: 4.4.3
Angular Compiler CLI: 4.4.3
Node: 8.11.1
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
This IONIC project is not mine and it is IONIC 3 so I’m little lost so I appreciate any clue. I’ve been stuck in this for two days.
We have no contact with the one who developed the project for us and we wanted to take advantage of it to start programming using IONIC. Until now we used only cordova. But first we need to start this project. The same error is obtained if we try to boot on the BROWSER or ANDROID platform
IONIC error when execute in my IONIC project (for run in the browser):
ionic server
Cannot find module "@app/env"
at Object.521 (http://localhost:8100/build/main.js:6800:7)
at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
at Object.471 (http://localhost:8100/build/main.js:6492:74)
at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
at Object.466 (http://localhost:8100/build/main.js:6454:70)
at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
at webpackJsonpCallback (http://localhost:8100/build/vendor.js:26:23)
at http://localhost:8100/build/main.js:1:1
Data about my IONIC proyect
Ionic Framework: 3.9.2
Ionic App Scripts: 3.1.10
Angular Core: 4.4.3
Angular Compiler CLI: 4.4.3
Node: 8.11.1
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
UPDATE MORE INFO ABOUT PROJECT:
if I run this CLI :
ionic doctor list
This is the output:
automatic-updates-off npm-installed-locally ionic-installed-locally git-not-used git-config-invalid ionic-angular-update-available ionic-angular-major-update-available app-scripts-update-available app-scripts-major-update-available ionic-native-old-version-installed ionic-native-update-available ionic-native-major-update-available unsaved-cordova-platforms cordova-platforms-committed default-cordova-bundle-id-used viewport-fit-not-set
Do you think I must run?
ionic doctor check