beinan / graphql_server_starter Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Do I have any other choice besides changing the version?
REM off node.js
nvm off
node --version
REM on node.js
nvm on
REM install node.js 8.11.3 version
nvm install 8.11.3
REM use node.js 8.11.3version
nvm use 8.11.3
ping -n 2 127.0.0.1 > nul
node --version
输出:
...
C:\Users\happy>node --version
v8.11.3
就可以了.
set PATH=D:\ProgramData\Anaconda3\condabin;D:\ProgramData\Anaconda3\Scripts;%PATH%
REM Pytorch CPU_GPU
conda deactivate
activate pytorch-cpu-gpu
python -V
输出:
Python 3.8.10
REM fix error: Can't find Python executable "D:\ProgramData\Anaconda3\envs\pytorch-cpu-gpu\python.EXE", you can set the PYTHON env variable.
npm config set python python
REM fix error:error Error: connect ETIMEDOUT 104.16.30.34:443
npm config set proxy null
npm config set registry https://registry.npm.taobao.org
npm config set proxy false
cd /d D:\GitHub\graphql_practical_writing_for_full_stack_engineers
REM 安装环境包, npm install 或者 yarn 或者 yarn install
del /s /q package-lock.json
npm install yarn
npm install
输出:
...
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> [email protected] postinstall D:\GitHub\graphql_practical_writing_for_full_stack_engineers\node_modules\nodemon
> node bin/postinstall || exit 0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] No repository field.
added 424 packages in 45.112s
这是期望的结果.
REM 启动GraphQL服务
REM node_modules\yarn\bin\yarn run start 或 npm run start
npm run start
输出:
> [email protected] start D:\GitHub\graphql_practical_writing_for_full_stack_engineers
> nodemon server.js
[nodemon] 1.19.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server.js`
2023-12-10T13:12:40.955Z - info: Now browse to http://localhost:8888/graphiql
这是期望的结果.
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.