Node Sass does not yet support your current environment Windows 64-bit with Unsupported runtime
2022年10月1日小于 1 分钟
Node Sass does not yet support your current environment Windows 64-bit with Unsupported runtime
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\dh\Downloads\gobang-master\node_modules\_node-gyp@3.8.0@node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. (C:\Users\dh\Downloads\gobang-master\node_modules\_node-gyp@3.8.0@node-gyp\lib\configure.js:509:16)
gyp ERR! stack at callback (C:\Users\dh\Downloads\gobang-master\node_modules\_graceful-fs@4.2.10@graceful-fs\polyfills.js:306:20)
gyp ERR! stack at FSReqCallback.oncom
webpack的env一般分为develop、test以及production,每个环境可能所需配置都不一样,比如请求的后端服务器等等
若每次打包单独修改,那可能太过繁琐,最重要可能打包时忘记,造成不必要的损失
故而,建议将webpack区分不同环境单独配置好,打包时使用不同命令即可
新建 .env.dev
文件
NODE_ENV = 'dev'
VUE_APP_BASE_UPL='开发环境api'
// 其他所需配置都可在此定义
1:默认情况下,Vue CLI 会默认你的应用是被部署在一个域名的根路径上。例如 https://www.my-app.com/。
2:需求需要你的应用被部署在一个子路径上,例如如果你的应用路径改为 https://www.my-app.com/my-app/。
maven 启动 springboot 项目报错:
2022-09-14 10:58:17.373 ERROR [] 16204 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.