-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Build failing on a fresh install #2986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Related to this #2973 |
@Kabangi Which package is version 1.4? |
Here are the dependencies
|
@raymondfeng I face this problem too when trying to build loopback4-example-todo-list. |
I was able to rerproduce with the todo-list example. Here are the steps to reproduce: $ npm i -g @loopback/cli <--- to make sure i'm on the latest
$ lb4 example todo-list <---- get the todo-list example
$ cd loopback4-example-todo-list
$ npm i
$ npm run build Here are a few errors I got:
|
It's broken by TypeScript 3.5. We have fixed it with #2996. In your case, please check |
For loopback-next, we probably should change TypeScript dependencies to use |
Thank @raymondfeng. It's working for now after changing the package.json to what @raymondfeng suggested above, deleting package-lock.json and rebuilding again. |
Thank you @raymondfeng. It's working now. |
Please note that scaffolded projects don't control the TypeScript version, it's controlled by Personally, I'd prefer a different solution: include |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce.
The text was updated successfully, but these errors were encountered: