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;
}
$ 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
New contributor
add a comment |
$ 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
New contributor
add a comment |
$ 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
New contributor
$ 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
javascript
New contributor
New contributor
edited 17 hours ago
Roby
New contributor
asked 18 hours ago
RobyRoby
12
12
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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