tensorflowjs module cann't be compiled correctly Announcing the arrival of Valued Associate...

What exactly is a "Meth" in Altered Carbon?

51k Euros annually for a family of 4 in Berlin: Is it enough?

Short Story with Cinderella as a Voo-doo Witch

Output the ŋarâþ crîþ alphabet song without using (m)any letters

List of Python versions

What causes the vertical darker bands in my photo?

Overriding an object in memory with placement new

Generate an RGB colour grid

Can a non-EU citizen traveling with me come with me through the EU passport line?

Can an alien society believe that their star system is the universe?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Storing hydrofluoric acid before the invention of plastics

Check which numbers satisfy the condition [A*B*C = A! + B! + C!]

3 doors, three guards, one stone

Why didn't this character "real die" when they blew their stack out in Altered Carbon?

When do you get frequent flier miles - when you buy, or when you fly?

How to find all the available tools in mac terminal?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

Why is "Consequences inflicted." not a sentence?

Why was the term "discrete" used in discrete logarithm?

Fundamental Solution of the Pell Equation

Why do people hide their license plates in the EU?

List *all* the tuples!

Why did the rest of the Eastern Bloc not invade Yugoslavia?



tensorflowjs module cann't be compiled correctly



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)How to correctly use javascript:alert(document.lastModified); to check a website last update?Cypress Tests Not Running Correctly On Bamboo





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















$ npm show @tensorflow/tfjs version
$ 1.0.0
$ npm show typescript version
$ 3.4.3


when I compile the project ng serve, it always gets the errors as below:



ERROR in node_modules/@tensorflow/tfjs- 
core/dist/io/browser_files.d.ts(24,34): error TS1039: Initializers are not
allowed in ambient contexts.
node_modules/@tensorflow/tfjs-core/dist/io/browser_http.d.ts(23,31): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-core/dist/io/indexed_db.d.ts(31,34): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-core/dist/io/local_storage.d.ts(41,34): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-data/dist/dataset.d.ts(235,39): error TS1039:
Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(29,33): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(48,33): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(56,33): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(64,33): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(69,33): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(77,33): error
TS1039: Initializers are not allowed in ambient contexts.
node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(85,33): error
TS1039: Initializers are not allowed in ambient contexts.


why there is another tensorflow module:



$npm show tensorflow version
$0.7.0









share|improve this question









New contributor




Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    $ npm show @tensorflow/tfjs version
    $ 1.0.0
    $ npm show typescript version
    $ 3.4.3


    when I compile the project ng serve, it always gets the errors as below:



    ERROR in node_modules/@tensorflow/tfjs- 
    core/dist/io/browser_files.d.ts(24,34): error TS1039: Initializers are not
    allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-core/dist/io/browser_http.d.ts(23,31): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-core/dist/io/indexed_db.d.ts(31,34): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-core/dist/io/local_storage.d.ts(41,34): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-data/dist/dataset.d.ts(235,39): error TS1039:
    Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(29,33): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(48,33): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(56,33): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(64,33): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(69,33): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(77,33): error
    TS1039: Initializers are not allowed in ambient contexts.
    node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(85,33): error
    TS1039: Initializers are not allowed in ambient contexts.


    why there is another tensorflow module:



    $npm show tensorflow version
    $0.7.0









    share|improve this question









    New contributor




    Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      $ npm show @tensorflow/tfjs version
      $ 1.0.0
      $ npm show typescript version
      $ 3.4.3


      when I compile the project ng serve, it always gets the errors as below:



      ERROR in node_modules/@tensorflow/tfjs- 
      core/dist/io/browser_files.d.ts(24,34): error TS1039: Initializers are not
      allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-core/dist/io/browser_http.d.ts(23,31): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-core/dist/io/indexed_db.d.ts(31,34): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-core/dist/io/local_storage.d.ts(41,34): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-data/dist/dataset.d.ts(235,39): error TS1039:
      Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(29,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(48,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(56,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(64,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(69,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(77,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(85,33): error
      TS1039: Initializers are not allowed in ambient contexts.


      why there is another tensorflow module:



      $npm show tensorflow version
      $0.7.0









      share|improve this question









      New contributor




      Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      $ npm show @tensorflow/tfjs version
      $ 1.0.0
      $ npm show typescript version
      $ 3.4.3


      when I compile the project ng serve, it always gets the errors as below:



      ERROR in node_modules/@tensorflow/tfjs- 
      core/dist/io/browser_files.d.ts(24,34): error TS1039: Initializers are not
      allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-core/dist/io/browser_http.d.ts(23,31): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-core/dist/io/indexed_db.d.ts(31,34): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-core/dist/io/local_storage.d.ts(41,34): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-data/dist/dataset.d.ts(235,39): error TS1039:
      Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(29,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(48,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(56,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(64,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(69,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(77,33): error
      TS1039: Initializers are not allowed in ambient contexts.
      node_modules/@tensorflow/tfjs-layers/dist/activations.d.ts(85,33): error
      TS1039: Initializers are not allowed in ambient contexts.


      why there is another tensorflow module:



      $npm show tensorflow version
      $0.7.0






      javascript






      share|improve this question









      New contributor




      Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 17 hours ago







      Roby













      New contributor




      Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 18 hours ago









      RobyRoby

      12




      12




      New contributor




      Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Roby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Roby is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1425977%2ftensorflowjs-module-cannt-be-compiled-correctly%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Roby is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Roby is a new contributor. Be nice, and check out our Code of Conduct.













          Roby is a new contributor. Be nice, and check out our Code of Conduct.












          Roby is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1425977%2ftensorflowjs-module-cannt-be-compiled-correctly%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...