facing issue while running the code
Dhivakar19 opened this issue · comments
I can look into this @Dhivakar19
@IvanGoncharov have you seen this already? I should check in my other repo, but I remember I sorted it while moving to webpack5
@LunaticMuch kindly take the latest from git and npm install and npm start u will face the n-number of issue ..
@LunaticMuch kindly take the latest from git and npm install and npm start u will face the n-number of issue ..
I actually face no issue. Two points:
- I see you're on windows, there might something specific on your environment
- You should use
npm ci
aspackages-lock.json
is included and this will include all specific versions. - You might want to share the version of
node
andnpm
you are using and the complete stack of yournpm ci
andnpm run start
command.
➜ graphql-voyager git:(main) npm run start
> graphql-voyager@1.0.0-rc.31 start
> webpack-dev-server --config webpack-demo.config.js --hot --inline --mode=development
(node:22006) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
ℹ 「wds」: Project is running at http://localhost:9090/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /Users/stefano/_GITHUB/graphql-voyager/demo
ℹ 「wdm」: Compiled successfully.
Also, is your clone updated? Additional updates were approved in the last 24 hours.
https://github.com/Dhivakar19/gqlpoc
kindly take the code from this file not able to resolve it ..
Not sure what you're trying to do. Your code is not based on the latest commit in main
and also includes broken dependencies.
I can probably help with debugging a voyager trouble, but this is not voyager.
You should make a fresh clone, use node 18 as set in the node-version file and then retry.
We can file a big if the official version published in this repo does not work, but we can't file a bug because your customized version does not work. Hope you can understand.
Regarding dependencies, it's true something is old, but they are still supported in the current configuration. Update to webpack5
requires the update of several other packages. I did it on my local and I will eventually submit for review in the next days. Although, so far, this does not appear to be root cause.
I see. Will see whether upgrading webpack and postcss can solve.
Currently it does not reproduce anywhere else; it is probably related to windows only and to browserify
kindly guide me to overcome from this issue ..