After updating the angular version from 8 to 13.3, it started giving the error ng4loadingSpinner doesn't have emod property.
while compiling the code looks fine but during the page load I am getting this error in console and gives blank page.
after updating to version 13 I have uninstalled and reinstalled the node modules but also error wont resolved and I have installed the latest version of ng4loading spinner module but issue not solved.
Related
After updating to latest stable version of library ngx-masonry 14.0.0 tests failed. They had release yesterday (24.10.2022.) and here is the link to their changelog: https://github.com/wynfred/ngx-masonry/blob/master/CHANGELOG.md
Basically they added Ivy build since they were using ViewEngine on older versions. I suppose that this error is connected to that migration to newer Angular compiler. On project we use Angular version 14.
After running npm i ngx-masonry#14.0.0 update was successful without any vulnerabilities.
In order for me to test it, I run ng test for my Angular application to make sure everything is fine. The failing test is basically the basic one which tests if the component is getting created. The following error was thrown in couple of components that rely on ngx-masonry library: ReferenceError: require is not defined
Since this is quite fresh issue (<24hrs old) probably more developers will run into it when they upgrade version to 14.
Link to the issue opened right now on their GitHub repo: https://github.com/wynfred/ngx-masonry/issues/98
Maybe we are missing something or this could be solved easily. :)
The owner of the library have just released 14.0.1 version which contains the fix. After you run npm i ngx-masonry#14.0.1 everything should be fine. Tests are passing as expected and app compiles successfully.
I don't know where everything went wrong but at some point, my react app started showing only a blank screen. I've look into some tuto and afterward, I've realize that when I run the command npm run build, I get the following error :
Failed to compile.
The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script
I am trying to compile my React Native application version 0.64.0. Everything was ok after migration from javascript to typescript, but suddently I got this problem:
Screenshot to compile
I tryied delete node modules and yarn again, and I didn't get any success compilation.
I also I have this error on console:
Error on console
I don't know if I have to install anything else, please help me.
This is my apollo client version:
"#apollo/client": "^3.3.13",
Im trying to run my Ionic project. It was working fine until some days ago, now I just can't run it, whatever I do. this error shows up! I tried removing Rxjs from package.json and node_modules, also commented out all the place I used Rxjs, still this error shows up. Tried in Ubuntu 16.04 with Node 8.9.0 and npm 4.5.0.
Also tried the same running in windows still shows the same error! How do I fix this?
try reinstalling rxjs of version 5.5.3 or newer
npm install #reactivex/rxjs#5.5.3
this issue seems to be fixed in version 5.5.3 https://github.com/ReactiveX/rxjs/issues/2971
I have the latest version (as of this writing) 1.3.12. I am trying to install dependencies:
bower install
During installation I get an error:
bower ENORESTARGET No tag found that was able to satisfy ~2.0.3
Additional error details:
No versions found in git://github.com/theshock/atomjs.git
and installation aborted.
How to resolve this problem?
Thank
For the people who are still getting this problem on Windows even though they are sure that the packages have correct versions, problem might be caused by the console emulator.
As I found out here from the comment posted by m0n1ker, the problem was caused by ConEmu console emulator. He says:
Ok, I did some debugging and for those that are having issues with ConEmu, the issue is not with bower. Where bower makes the call value = cmd('git', ['ls-remote', '--tags', '--heads', source]).spread(function (stdout) { in GitRemoteResolver.js the stdout variable is getting truncated to 4096 characters. This is a bug in the ConEmuHk DLL.
I am using cmder console emulator and thanks to grafikkaos I was able to solve the problem by disabling Inject ConEmuHk under Settings -> Features -> In-console options. After doing that I can now install/update bower packages without any problem.