import { DubboServer , nacos } from 'apache-dubbo-js' ; import service from './service' ; const server = new DubboServer ( { port : 20880 , registry : nacos ( { url : 'nacos:localhost:8848' , } ) , services : service , } ) ; server . start ( ) ;