-
Hi guys, I'm trying to create a new api server project and getting this error: PS C:\Users\Lucas\Documents> npm init adonis-ts-app dduo-server
npx: installed 136 in 9.048s
_ _ _ _
/ \ __| | ___ _ __ (_)___ | |___
/ _ \ / _` |/ _ \| '_ \| / __|_ | / __|
/ ___ \ (_| | (_) | | | | \__ \ |_| \__ \
/_/ \_\__,_|\___/|_| |_|_|___/\___/|___/
> Select the project structure · api
> Enter the project name · dduo-server
> Setup eslint? (y/N) · true
create .adonisrc.json
create .env, .env.example
create .gitignore
create tsconfig.json
create .eslintrc.json, .eslintignore
create ace
create app\Exceptions\Handler.ts
create commands\index.ts
create providers\AppProvider.ts
create server.ts
create start\kernel.ts
create start\routes.ts
create .editorconfig
install typescript, @adonisjs/assembler, eslint, eslint-plugin-adonis, youch, youch-terminal, and 2 others [dev]
install @adonisjs/core, @adonisjs/ace, @adonisjs/fold, reflect-metadata, proxy-addr, and 1 other [prod]
create package.json
fatal Error: Cannot invoke instructions. Missing package "@adonisjs/core"
at Instructions.getPackagePath (C:\Users\Lucas\AppData\Roaming\npm-cache\_npx\20944\node_modules\create-adonis-ts-app\node_modules\@adonisjs\sink\src\Tasks\Instructions\index.js:61:23)
at new Instructions (C:\Users\Lucas\AppData\Roaming\npm-cache\_npx\20944\node_modules\create-adonis-ts-app\node_modules\@adonisjs\sink\src\Tasks\Instructions\index.js:49:33)
at task (C:\Users\Lucas\AppData\Roaming\npm-cache\_npx\20944\node_modules\create-adonis-ts-app\build\tasks\executeInstructions.js:27:19)
at Object.runTasks (C:\Users\Lucas\AppData\Roaming\npm-cache\_npx\20944\node_modules\create-adonis-ts-app\build\index.js:139:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
error Unable to create new project. Rolling back
fatal Error: Cannot invoke instructions. Missing package "@adonisjs/core"
at Instructions.getPackagePath (C:\Users\Lucas\AppData\Roaming\npm-cache\_npx\20944\node_modules\create-adonis-ts-app\node_modules\@adonisjs\sink\src\Tasks\Instructions\index.js:61:23)
at new Instructions (C:\Users\Lucas\AppData\Roaming\npm-cache\_npx\20944\node_modules\create-adonis-ts-app\node_modules\@adonisjs\sink\src\Tasks\Instructions\index.js:49:33)
at task (C:\Users\Lucas\AppData\Roaming\npm-cache\_npx\20944\node_modules\create-adonis-ts-app\build\tasks\executeInstructions.js:27:19)
at Object.runTasks (C:\Users\Lucas\AppData\Roaming\npm-cache\_npx\20944\node_modules\create-adonis-ts-app\build\index.js:139:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5) anyone know what is the problem? |
Beta Was this translation helpful? Give feedback.
Answered by
lsfratel
Sep 18, 2020
Replies: 1 comment
-
The problem was git, git wasn't installed on my pc... just installed and worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lsfratel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem was git, git wasn't installed on my pc... just installed and worked.