#problem with ionicModule
34 messages · Page 1 of 1 (latest)
Hello, when the problem appeared?
As all dependancies are hightlighted, it feels like dependancies are not installed in the project.
Could it be an ionic problem? What is not installed in the project?
because globally I do have it installed
It sounds like there are no node_modules in th project
so 'npm install' has not been executed
or no_modules removed 2 weeks ago
Well, I'll explain a little anyway, I have this project in a github repository, when I clone it to my PC and when I run the "npm install" it installs everything fine, this is the only thing that gives me an error
Can you run ng build successfully ?
In fact it is executed, in image 1 you can see how node_modules appears on the side 😪
If you take a look at the error message from yoru screenshot, only the first part is about Ionic, the second part is about the second import 'BrowserModule'. So that's not just related to Ionic
Then the problem is your IDE, not the code itself: is your IDE version up to date?
If you give me a moment I'll try it
boooof I haven't verified that, co.l could you see if I have it updated?
Visual Studio code right?
Yes
Code Menu / Check for updates
ok, i'll check it right away
I forgot the Angular Ivy part of the error message, do:
- remove node_modules / package-lock.json
- run npm install
ok, i'll try it
Thank you very much, I will be writing any questions
I just checked Visual Studio code and it appears that it is installing the update
Getting BrowserModuleerror about Ivy is quite weird though. It can make sense for some old libraries (but quite sure Iconic one was updated before Angular 12). But getting it with BrowserModuel makes no sense as part of Angular Core.
mmm I wouldn't know what to say
I finished updating visual studio, I'm going to delete node_modules and package-lock.json
I send specifications of what I have in my system
angular cli: 12.1.1
Node: 18.13.0
Angular: 17.2.3 (this must be the incompatibility problem or I don't know)
......... core, forms, platform-browser, router
Ivy Workspace: <error> (this appears because I am outside the project)
While it should not explain the error, Angular 12 does not support node 18: https://angular.io/guide/versions
ouuu I see, I'm going to install node 14.15.0
Hello, I updated everything, I even cloned the project again from Github and created the "npm install" and it gave me the error again 😪
check the commits from 2 weeks ago, when it started to happen