zhoutaoo / springcloud-admin Goto Github PK
View Code? Open in Web Editor NEW微服务后台通用管理系统
License: MIT License
微服务后台通用管理系统
License: MIT License
控制台错误信息:npm ERR! Cannot read properties of null (reading 'parent')
npm run dev后浏览器一直加载,页面无法正常打开呢
请问目前改项目还在开发吗
npm ERR! code 1
npm ERR! path C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node scripts/install.js
npm ERR! C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\gauge\wide-truncate.js:2
npm ERR! var stringWidth = require('string-width')
npm ERR! ^
npm ERR!
npm ERR! Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\string-width\index.js from C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\gauge\wide-truncate.js not supported.
npm ERR! Instead change the require of index.js in C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\gauge\wide-truncate.js to a dynamic import() which is available in all CommonJS modules.
npm ERR! at Object. (C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\gauge\wide-truncate.js:2:19)
npm ERR! at Object. (C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\gauge\render-template.js:5:20)
npm ERR! at Object. (C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\gauge\plumbing.js:3:22)
npm ERR! at Object. (C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\gauge\index.js:2:16)
npm ERR! at Object. (C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\npmlog\log.js:3:13)
npm ERR! at Object. (C:\Users\test\IdeaProjects\SpringCloud-Admin\node_modules\node-sass\scripts\install.js:11:9) {
npm ERR! code: 'ERR_REQUIRE_ESM'
npm ERR! }
npm ERR!
npm ERR! Node.js v18.14.2
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\test\AppData\Local\npm-cache_logs\2023-04-28T14_53_57_022Z-debug-0.log
可以获取access_token,但是用access_token,请求http://localhost:9527/dev-api/organization/user?uniqueId=admin,报Unauthorized
/import { mockXHR } from '../mock'
if (process.env.NODE_ENV === 'production') {
mockXHR()
}/
另外为什么在生产环境调用mock数据?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.