Closed BDadmehr0 closed 1 year ago
Please provide more info. Are you trying to run locally??
Please provide more info. Are you trying to run locally??
I did everything you said to setup I cloned the repository I went to the repository directory and npm i And npm run dev
It is working for me. Are you sure that you have moved in the directory?
If it is still not working try downloading it manually. Using the Download button or this link
I am not in a position to do this now, I will test it, thank you
I am not in a position to do this now, I will test it, thank you
your welcome. I will close this issue for now.
web@0.1.0 dev /home/dadmehr/WebDevTools-main next dev
/home/dadmehr/WebDevTools-main/node_modules/next/dist/cli/next-dev.js:260 showAll: args["--show-all"] ?? false, ^
SyntaxError: Unexpected token ?
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.dev (/home/dadmehr/WebDevTools-main/node_modules/next/dist/lib/commands.js:15:30)
at Object.next dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the web@0.1.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/dadmehr/.npm/_logs/2023-07-01T19_26_29_202Z-debug.log
When I investigated the issue.
I noticed that you wrotenpm dev
But if your using npm, you need to use npm run dev
, You have forgot to write run. Please read the contribution section again
Please update me so I can close the issue
/_logs//2023-07-01T07_20_04_116Z-debug.log :
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'dev' ] 2 info using npm@6.14.4 3 info using node@v10.19.0 4 verbose run-script [ 'predev', 'dev', 'postdev' ] 5 info lifecycle web@0.1.0~predev: web@0.1.0 6 info lifecycle web@0.1.0~dev: web@0.1.0 7 verbose lifecycle web@0.1.0~dev: unsafe-perm in lifecycle true 8 verbose lifecycle web@0.1.0~dev: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/dadmehr/Documents/GitHub/WebDevTools/node_modules/.bin:/home/dadmehr/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin 9 verbose lifecycle web@0.1.0~dev: CWD: /home/dadmehr/Documents/GitHub/WebDevTools 10 silly lifecycle web@0.1.0~dev: Args: [ '-c', 'next dev' ] 11 silly lifecycle web@0.1.0~dev: Returned: code: 1 signal: null 12 info lifecycle web@0.1.0~dev: Failed to exec dev script 13 verbose stack Error: web@0.1.0 dev: (/usr/share/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid web@0.1.0
15 verbose cwd /home/dadmehr/Documents/GitHub/WebDevTools
16 verbose Linux 5.15.0-76-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"
18 verbose node v10.19.0
19 verbose npm v6.14.4
20 error code ELIFECYCLE
21 error errno 1
22 error web@0.1.0 dev:
next dev
13 verbose stack Exit status 1 13 verbose stack at EventEmitter.next dev
22 error Exit status 1 23 error Failed at the web@0.1.0 dev script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]