the app was using emberjs 3.10 and got upgraded to 6.4 and nodejs was 10.16.0 and currently it is 22.17.0
the previous implementation of sockets.js was importing socket from ember-phoenix but it stopped working after upgraded due to incompatibility of whirlpool with node 22. now i am trying to use the phoenix package to import the socket.
previous was import { Socket } from ‘ember-phoenix‘
now i converted it to import { Socket } from ‘phoenix‘
but currently having errors in console:
Uncaught Error: Could not find module phoenix imported from <path>/sockets
Error while processing route: main.dashboard Could not find module phoenix imported from <path>/sockets Error: Could not find module phoenix imported from <path>/sockets