Skip to content
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

Free demo not working #96

Open
technicallyrice opened this issue Sep 1, 2020 · 2 comments
Open

Free demo not working #96

technicallyrice opened this issue Sep 1, 2020 · 2 comments

Comments

@technicallyrice
Copy link

Version

2.4.0

Reproduction link

https://jsfiddle.net/

Operating System

macOS

Device

Macbook Pro

Browser & Version

Chrome

Steps to reproduce

  1. Download the free demo
  2. Run npm install
  3. Run ng serve

What is expected?

The application works

What is actually happening?

First, npm install throws a whole lot of warnings and vulnerabilities. This is probably due to the insanely old node and npm versions in the package.json. Ignoring those, when you then run ng serve receive the following:

ERROR in TypeError: tooling_1.constructorParametersDownlevelTransform is not a function
at downlevelFactory (/Users/andrewrice/dev/project/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:779:43)
at /Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:89229:37
at /Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:89313:78
at Array.map ()
at Object.transformNodes (/Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:89313:52)
at emitJsFileOrBundle (/Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:89858:32)
at emitSourceFileOrBundle (/Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:89811:13)
at forEachEmittedFile (/Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:89563:34)
at Object.emitFiles (/Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:89792:9)
at emitWorker (/Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:95809:33)
at /Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:95770:66
at runWithCancellationToken (/Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:95861:24)
at Object.emit (/Users/andrewrice/dev/project/node_modules/typescript/lib/typescript.js:95770:20)
at AngularCompilerPlugin._emit (/Users/andrewrice/dev/project/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:1046:48)
at AngularCompilerPlugin._update (/Users/andrewrice/dev/project/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:872:50)
at processTicksAndRejections (internal/process/task_queues.js:93:5)


Solution

Additional comments

@rarestoma
Copy link
Contributor

Hi @technicallyrice,

Thank you for working with our products.

I tried now and it works on my side. Can you please tell me what versions of gulp and npm are you using? I have npm v6.14.5 and gulp v2.2.0.

Thank you,
Rares

@niknoorakmal
Copy link

niknoorakmal commented Oct 6, 2020

Same issue occur to me. Do we have to run gulp or what/.

My operating system is Window 10 Pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants