我住在孟加拉国吉大港,时区是 GMT+6。我如何在 Django 设置中更改为这个时区?
在我的 next.config.js 文件中,我想导出两个模块导出。但如果不将它们结合起来我就无法做到这一点。有没有办法将两个 module.exports 结合起来?
const withPWA = require("next-pwa");
module.exports = withPWA({
future: { webpack5: true },
pwa: {
dest: "public",
swSrc: "service-worker.js",
},
});
module.exports = {
env: {
SANITY_DATASET_NAME: process.env.SANITY_DATASET_NAME,
SANITY_PROJECT_ID: process.env.SANITY_PROJECT_ID,
},
};
Run Code Online (Sandbox Code Playgroud) 我刚刚使用创建了下一个应用程序npx create-next-app。然后我安装了 sass yarn add sass。我没有做任何其他事情,只是输入yarn dev......然后繁荣。我的终端和浏览器(本地主机)中显示大量错误
内部服务器错误
我的终端现在看起来像这样
PS D:\Web development\Booksbia Website\Booksbia-next\booksbia> npm run dev
> booksbia@0.1.0 dev D:\Web development\Booksbia Website\Booksbia-next\booksbia
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
warn - D:/Web Development/BooksBia Website/Booksbia-next/booksbia/node_modules/@babel/runtime/helpers/interopRequireDefault.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* D:\Web Development\BooksBia Website\Booksbia-next\booksbia\node_modules\@babel\runtime\helpers\interopRequireDefault.js
Used …Run Code Online (Sandbox Code Playgroud)