yo angular-fullstack:endpoint消息不会生成message.socket.js

问题描述 投票:0回答:1

yo angular-fullstack:endpoint shopPacket不生成shopPacket.socket.js

我试图更新哟全角堆栈生成器,但仍然无法正常工作

yo angular-fullstack:endpoint shopPacket
? What will the url of your endpoint be? /api/shopPackets
   create server/api/shopPacket/shopPacket.controller.js
   create server/api/shopPacket/shopPacket.events.js
   create server/api/shopPacket/shopPacket.integration.js
   create server/api/shopPacket/shopPacket.model.js
   create server/api/shopPacket/index.js
   create server/api/shopPacket/index.spec.js```

它应该生成

create server/api/shopPacket/shopPacket.socket.js

像以前一样有没有我需要添加的选项才能产生像此链接:https://angular-fullstack.github.io/generators/endpoint/```

OS版本/详细信息:macos mojave 10.14.4

节点版本:10.15.1

npm版本:6.4.1

yo版本:2..0.5

javascript node.js express yeoman angular-fullstack
1个回答
0
投票

socket.js文件未生成,因为最后一个角度全栈不使用socketio,而是由primus进行了更改,所以我安装了最新版本的Angullar全栈,但有很多无效的更改。

© www.soinside.com 2019 - 2024. All rights reserved.