You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
PS E:\tempBaseBall> nvs
PATH -= $env:LOCALAPPDATA\nvs\chakracore\10.13.0\x64
PATH += $env:LOCALAPPDATA\nvs\chakracore-nightly\12.0.0-nightly20190209744291b341\x64
PS E:\tempBaseBall> npm install @tensorflow/tfjs-node
npm WARN npm npm does not support Node.js v12.0.0-nightly20190209744291b341
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
SyntaxError: Expected identifier, string or number
at Script (vm.js:91:7)
at createScript (vm.js:267:3)
at runInThisContext (vm.js:319:3)
at Module.prototype._compile (internal/modules/cjs/loader.js:685:3)
at Module._extensions[.js] (internal/modules/cjs/loader.js:733:3)
at Module.prototype.load (internal/modules/cjs/loader.js:620:3)
at tryModuleLoad (internal/modules/cjs/loader.js:560:5)
at Module._load (internal/modules/cjs/loader.js:552:3)
at Module.runMain (internal/modules/cjs/loader.js:775:5)
at startup (internal/bootstrap/node.js:301:9)
npm WARN [email protected] No repository field.
npm WARN You are using a pre-release version of node and things may not work as expected
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @tensorflow/[email protected] install: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @tensorflow/[email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
The text was updated successfully, but these errors were encountered:
If you build using chakracore master (use the branch chakracore-master from this repository) and supply CC with the build flag ES2018ObjectRestSpread then this should be enabled - the support is experimental but I think it should work for 99% of use cases.
Looks like ChakraCore might need to add support for the 3 dots operator (spread operator)?
Get the below error for both 10.13.0 & latest nightly.
Here's the file
https://github.com/tensorflow/tfjs-node/blob/master/scripts/install.js#L112
PS E:\tempBaseBall> nvs
PATH -= $env:LOCALAPPDATA\nvs\chakracore\10.13.0\x64
PATH += $env:LOCALAPPDATA\nvs\chakracore-nightly\12.0.0-nightly20190209744291b341\x64
PS E:\tempBaseBall> npm install @tensorflow/tfjs-node
npm WARN npm npm does not support Node.js v12.0.0-nightly20190209744291b341
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
E:\tempBaseBall\node_modules@tensorflow\tfjs-node\scripts\install.js:112
const options = {...url.parse(targetUri), agent: https.globalAgent};
^^^^
SyntaxError: Expected identifier, string or number
at Script (vm.js:91:7)
at createScript (vm.js:267:3)
at runInThisContext (vm.js:319:3)
at Module.prototype._compile (internal/modules/cjs/loader.js:685:3)
at Module._extensions[.js] (internal/modules/cjs/loader.js:733:3)
at Module.prototype.load (internal/modules/cjs/loader.js:620:3)
at tryModuleLoad (internal/modules/cjs/loader.js:560:5)
at Module._load (internal/modules/cjs/loader.js:552:3)
at Module.runMain (internal/modules/cjs/loader.js:775:5)
at startup (internal/bootstrap/node.js:301:9)
npm WARN [email protected] No repository field.
npm WARN You are using a pre-release version of node and things may not work as expected
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @tensorflow/[email protected] install:
node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @tensorflow/[email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: