cxqeric
Results
2
issues of
cxqeric
after `npm start`, it show: `WARNING in ./node_modules/tldts-core/dist/es6/index.js [1] Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): [1] Failed to parse source map from 'D:\projectName\node_modules\tldts-core\index.ts' file: Error: ENOENT: no such file or directory, open...
请教你一个问题
4
我遇到了你博文中一模一样的问题,https://blog.zshnb.com/2023-12-10-nextjs-nginx-deploy-404.html 我自己摸索的方案也是你这个办法,但是不管用。IP地址+端口号的方式可以正常访问,资源也加载正确。但是这样不太好记。 域名+子路径也可以打开,但是页面的JavaScript和css 则是404. 另外,不知道你有再next.config.js里面设置assetPrefix没有? 非常感谢!