我正在使用netlify部署我的Sapper应用程序。在Netlify中,我是这样配置的:
Buid Command: npm run export
Publish Directory: __sapper__/export
它部署了,但是给了我这个错误:
> Built in 20.7s
10:39:16 PM: > Crawling http://localhost:3000/
10:39:16 PM: { [Error: ENOENT: no such file or directory, scandir './src/articles']
10:39:16 PM: errno: -2,
10:39:16 PM: code: 'ENOENT',
10:39:16 PM: syscall: 'scandir',
10:39:16 PM: path: './src/articles' }
10:39:16 PM: 59 B (500) articles/articles.json
10:39:16 PM: 2.17 kB (500) index.html
10:39:16 PM: 2.04 kB service-worker-index.html
是因为无法将我的应用程序导出为静态网站吗?