心想安稳

Results 8 comments of 心想安稳

当我在windows npm run build之后 直接运行 node ./output/server/index.mjs 是成功的,但是当我把.output 放到llinux服务器上时,会出现 Cannot find package 'node-fetch-native' imported from /node/newTeam/server/index.mjs 是否linux 中还需要什么操作吗

When I run node directly after Windows npm run build/ Output/server/index.mjs is successful, but when I put. output on the linux server, the package 'node fetch native' imported from/node/newTeam/server/index.mjs will...

稍等我会发布一个视频,来复现我的操作,以及出现此问题。

@danielroe https://wwpc.lanzouf.com/i9pIu0pqn9aj //www https://wwpc.lanzouf.com/i3JPz0pqn9la// arco https://cloud.06dn.com/s/YVMMf7 //There are some problems with the online preview of the complete operation video download address and the local place to download. The above is...

@stj8888 @danielroe 没有解决,我更换版本就可以 后来我又找了下问题, 发现打包后,依赖包的名字变了,导致的错误 正常的打包 axios.mjs 错误的结果 _axios.mjs 前缀多了一个 _ ,并且入口文件引入的 axios.mjs 所以导致找不到包 ,就会出现这个错误

已经影响了正常使用,版本0.37 复现代码:http://u5n.cn/4t78Q 另外,不能强制用户使用 eslint Normal use has been affected, version 0.37 Recurrence code: http://u5n.cn/4t78Q In addition, users cannot be forced to use eslint