Package [xxxx] scene script [xxxxx] not exists.

BC%B@N`1S{YMM_FTT5)0 @C$J68MK6NTB@G{_@KHIO8V EJ40URIJ@9CG)3CWPO9U{TV


扩展插件的场景脚本报错,按照官方例子写的,不知道哪里有问题,求大佬看看

少了 ./

报错的原因找到了package.json里 scene-script多嵌套了一层,直接"scene-script":"scene-walker.js"即可,在场景脚本引用项目模块可以参考https://docs.cocos.com/creator/manual/zh/extension/scene-script.html#%E5%BC%95%E7%94%A8%E6%A8%A1%E5%9D%97