Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

Sockets.js not working

$
0
0

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

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles