-
Notifications
You must be signed in to change notification settings - Fork 94
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
Error occurrred while npm run build #32
Comments
I solved the issue updating typescript to v3.2.2
|
sorry it's doesn't work. |
@tanin5462 did work for me with v3.2.2 |
Change it, do another npm install then try again |
After the change to Typescript 3.2.2 by changing the package.json withe the contents in the previous post, followed by running npm install, the problem was solved and it npm run build worked for me. Thanks! |
Remove "node_modules" also. |
https://stackoverflow.com/questions/57331779/typescript-duplicate-identifier-iteratorresult This also required for me |
Issue resolved by pull request referenced above |
$ npm run build
node_modules/google-auth-library/build/src/auth/oauth2client.d.ts(298,55): error TS1039: Initializers are not allowed in ambient contexts.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build:
tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Environment
OS : windows 10
Node: node 12.3.1
The text was updated successfully, but these errors were encountered: