build amplication-cli failed #1278
-
I am following installation instructions from scratch. when running npm run bootstrap, I am getting the following error : src/configured-command.ts:50:7 - error TS2322: Type '(input: import("C://My Projects/amplication-master/packages/amplication-cli/node_modules/cross-fetch/lib.fetch").RequestInfo, init?: import("C:/My Projects/amplication-master/packages/amplication-cli/node_modules/cross-fetch/lib.fetch").RequestInit | undefined) => Promise<...>' is not assignable to type '(input: RequestInfo, init?: RequestInit | undefined) => Promise'. 50 fetch, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I am trying to reproduce with no success. |
Beta Was this translation helpful? Give feedback.
-
can you also please try to run
in amplication-cli folder? |
Beta Was this translation helpful? Give feedback.
-
Join our discord channel, I will try to help you there |
Beta Was this translation helpful? Give feedback.
-
It turned out that "cross-fetch" released a new version 3.1.0 three days ago and it breaks the build... |
Beta Was this translation helpful? Give feedback.
It turned out that "cross-fetch" released a new version 3.1.0 three days ago and it breaks the build...
I am still not sure why it breaks, as there should be no breaking changes between 3.0.6 and 3.1.0.
I will inves||tigate, and fix our side if needed - otherwise, I will change the package.json to use "3.0.6" instead of "^3.0.6" - until @graphql-tools will update their dependencies