-
-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn编译报错 #613
Comments
try removing the |
npm install |
info There appears to be trouble with your network connection. Retrying... |
[1/5] ⠐ puppeteer |
yarn error can you upload build dic files |
You have some problems installing dependencies due to connection errors. |
|
@icetech233 Could you explain what it is that you are trying to accomplish? If you want to run the gotify server, then you can either use the binaries, or build the project yourself using the instructions documented here https://gotify.net/docs/build |
If you only want to obtain the frontend/ui files to serve to the user, run |
i need help yarn error |
F:\gocode\gotify\server-2.4.0\ui>yarn build
yarn run v1.22.19
$ react-scripts build
C:\Users\yanli\AppData\Roaming\npm\node_modules\react-scripts\node_modules\resolve\lib\sync.js:113
throw err;
^
Error: Cannot find module 'typescript' from 'F:\gocode\gotify\server-2.4.0\ui\node_modules'
at Function.resolveSync [as sync] (C:\Users\yanli\AppData\Roaming\npm\node_modules\react-scripts\node_modules\resolve\lib\sync.js:111:15)
at getModules (C:\Users\yanli\AppData\Roaming\npm\node_modules\react-scripts\config\modules.js:119:32)
at Object. (C:\Users\yanli\AppData\Roaming\npm\node_modules\react-scripts\config\modules.js:142:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (C:\Users\yanli\AppData\Roaming\npm\node_modules\react-scripts\config\webpack.config.js:28:17) {
code: 'MODULE_NOT_FOUND'
}
Node.js v18.16.1
error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: