Giter VIP home page Giter VIP logo

graphql_server_starter's People

Contributors

beinan avatar gothere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

graphql_server_starter's Issues

bcrypt(version 1.0.2) cannot be installed

the error is

node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-x64.tar.gz
node-pre-gyp http 404 https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v64-linux-x64.tar.gz

Do I have any other choice besides changing the version?

[DEV] How to install project environment?

Node.js version 8.11.3 is ok

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
这是期望的结果.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.