We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm trying to use the module in an Angular 4 project (using angular-cli). I ran 'npm install ng-canvas-gauges' however i's build step seems to fail.
src/base-gauge.ts(41,31): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build" npm ERR! node v6.11.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! [email protected] build: rm -rf lib && tsc -p src npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the [email protected] build script 'rm -rf lib && tsc -p src'.
rm -rf lib && tsc -p src
Going by this page: https://stackoverflow.com/questions/35959372/property-assign-does-not-exist-on-type-objectconstructor it seems that either the target in tsconfig is wrong, or a polyfil is needed?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm trying to use the module in an Angular 4 project (using angular-cli). I ran 'npm install ng-canvas-gauges' however i's build step seems to fail.
src/base-gauge.ts(41,31): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:
rm -rf lib && tsc -p src
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script 'rm -rf lib && tsc -p src'.
Going by this page: https://stackoverflow.com/questions/35959372/property-assign-does-not-exist-on-type-objectconstructor it seems that either the target in tsconfig is wrong, or a polyfil is needed?
Thanks!
The text was updated successfully, but these errors were encountered: