mysamai / mysam Goto Github PK
View Code? Open in Web Editor NEWAn open "intelligent" assistant for the web that can listen to you and learn.
Home Page: https://mysamai.com
License: GNU General Public License v3.0
An open "intelligent" assistant for the web that can listen to you and learn.
Home Page: https://mysamai.com
License: GNU General Public License v3.0
I couldn't even get the main branch to work, and had to get instructions from you on Twitter to use the very functional "rework" branch.
Is there a roadmap to moving that to main?
Happy to help if it's needed.
Installing with -g in windows adds substantial bytes to the front of the pathname and risks exceeding the pathname length restriction in Windows. This is sometimes ok for Node.js apps but attempting to build a native module beyond the length limit is a problem. By the time you get into feathers' socket.io's engine.io's unicode parser your jumbo paths will get rejected by Visual Studio.
I was able to run mysam
just fine by installing it locally to a short path. Specifically I was at c:\code\sam\
. My recommended fix is to just update the installation instructions to warn windows users of the issue and workaround.
4.35.3
to 4.36.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
append
option now supports the default placeholders in addition to [url]
"..."
when overriding options.The new version differs by 42 commits.
95d21bb
4.36.0
aa1216c
Merge pull request #9422 from webpack/feature/dot-dot-dot-merge
b3ec775
improve merging of resolve and parsing options
53a5ae2
Merge pull request #9419 from vankop/remove-valid-jsdoc-rule
ab75240
Merge pull request #9413 from webpack/dependabot/npm_and_yarn/ajv-6.10.2
0bdabf4
Merge pull request #9418 from webpack/dependabot/npm_and_yarn/eslint-plugin-jsdoc-15.5.2
f207cdc
remove valid jsdoc rule in favour of eslint-plugin-jsdoc
31333a6
chore(deps-dev): bump eslint-plugin-jsdoc from 15.3.9 to 15.5.2
036adf0
Merge pull request #9417 from webpack/dependabot/npm_and_yarn/eslint-plugin-jest-22.8.0
37d4480
Merge pull request #9411 from webpack/dependabot/npm_and_yarn/simple-git-1.121.0
ce2a183
chore(deps-dev): bump eslint-plugin-jest from 22.7.2 to 22.8.0
0beeb7e
Merge pull request #9391 from vankop/create-hash-typescript
bf1a24a
#9391 resolve super call discussion
bd7d95b
#9391 resolve discussions, AbstractMethodError
4190638
chore(deps): bump ajv from 6.10.1 to 6.10.2
There are 42 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Hi! This is an awesome project!
Is very helpful if we can see all plugins created for Sam in an file or a session in README.md!
Thanks and great work!
This may just be because my npm ls -g
command with NPM3 is throwing an error.
Great work! Thanks for your efforts.
I wonder if there is a way to unset the rules set mistakenly, list the rules, modify them.
Also listing the potential global variables would be great. For example Sam can't answer who am i. So I would like to say "You are {{myname}}". But I don't know which variable to use.
Given some facts like:
I'd bet that the number of MySam plugins will grow very fast. Maybe it would be cool to have a place to centralize them.
@thebergamo proposed in #3 the creation of a file or a section in the README
and I think that this would be also important - but only for official (core-team developed) plugins - that's why I opened another issue instead of just commenting the other one.
Many tools in the node.js world have their own extensions catalog; e.g: automation tools, like gulp's plugins registry, preprocessors, like elm's catalog and so on.
Maybe now it's not a needing, but who knows in a near feature? If you don't have time to create one, I'd suggest, for now, include in the plugins creation guidelines instructions to any MySam plugin have a tag like mysam-plugin
; e.g:
{
"name": "mysam-myplugin",
"main": "server",
"mysam": {
"client": "frontend",
"styles": "styles.css"
},
"keywords": [
"my-keyword-1",
"my-keyword-2",
"my-keyword-3",
"mysam-plugin"
]
}
In short time it would at least allow you doing something like broccolijs does - which is linking to a npm seach-by-keyword result. In this case you would have a https://www.npmjs.com/browse/keyword/mysam-plugin
link in the project's homepage.
In the long-term, you can use the idea of a special keyword in the package.json
to create - or fork - something like Custom Elements - which would search for published packages with the mysam-plugin
keyword and gather them in a beautiful and easy-to-publish registry.
BTW, I loved the project β€οΈ
A text input field would enable to test the project without speaking or with a browser that doesn't yet support the Speech API.
After writting mysam at terminal the window appears and two Javascript error occured in the main process appear
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/mysam/db-data/actions'
at Error (native)
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/mysam/db-data/configuration'
at Error (native)
after the app starts but it doesnt ask for the name as in demo video but it's infinitely waiting:
I tried install mysam but I receive a lot errors during the installation, also I cannot start.
Mac: Yosemite.
Brew
Node v0.12.7
NPM 2.12.1
3.5.2
to 3.5.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
uglify-js is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Β
The new version differs by 3 commits.
fa43768
v3.5.3
a74e600
mangle shadowed lambda under ie8
correctly (#3356)
4b21526
Fix test expectation (#3357)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Hi.
First of all, sorry for being so invasive today.
When you clone the repo and try to test, lib/server is not found. In fact, it's not there.
(I had to copy it from the npm-created folder in /usr/lib/node_modules/mysam)
it got crash (so far, i don't have any experience with electron, but it's seems to be electron is the problem here) as i tried to run mysam on server mode, it runs, but only showing the loading screen.
$ sudo mysam
bellow are the error logs:
sudo mysam
Error: Command failed: /bin/sh -c npm ls --depth 0 --parseable -g
npm ERR! max depth reached: [email protected], required by undefined@undefined
npm ERR! max depth reached: [email protected], required by undefined@undefined
npm ERR! max depth reached: [email protected], required by undefined@undefined
npm ERR! max depth reached: [email protected], required by undefined@undefined
npm ERR! max depth reached: [email protected], required by undefined@undefined
npm ERR! max depth reached: [email protected], required by undefined@undefined
npm ERR! max depth reached: [email protected], required by undefined@undefined
npm ERR! not ok code 0
at ChildProcess.exithandler (child_process.js:215:12)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:817:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
Failed to get crash dump id.
Report Id:
Hi,
What version of node was this built with?
I tried to run this on Fedora and OS X Yosemite. It works when installing as a global package. However, when I get to the screen after inputing my name, I cannot click on anything. Also I tried Firefox and Chrome. I ran it in both server and regular mode with Electron.
I tried to run it in development mode but still the same UI problem. After running once and closing, restarting it gives me an image of a brain with neural network screen, can't go beyond that screen (that is probably a db problem?). At that point I have to reinstall the packages in order to get it to work again.
EDIT: Just for the record, I tried node v0.10.2 and v4.4.4, both work but still have the problems with the UI with both.
Any help on these problems?
Thank you,
This is the message I received:
npm ERR! not a package /tmp/npm-3335-k0Xd4QqO/github.com/jeresig/jquery.hotkeys.git
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/usr/local/lib/node_modules/mysam/node_modules/lodash'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY: directory not empty, rmdir '/usr/local/lib/node_modules/mysam/node_modules/lodash']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/mysam/node_modules/lodash' }
npm ERR! Error: ENOENT: no such file or directory, open '/tmp/npm-3335-k0Xd4QqO/github.com/jeresig/jquery.hotkeys.git-unpack/package.json'
npm ERR! at Error (native)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 3.2.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mysam" "-g"
npm ERR! cwd /home/dimitris/downloads
npm ERR! node -v v4.2.1
npm ERR! npm -v 1.4.21
npm ERR! path /tmp/npm-3335-k0Xd4QqO/github.com/jeresig/jquery.hotkeys.git-unpack/package.json
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! tar.unpack untar error /root/.npm/uberproto/1.1.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/feathers-commons/0.2.8/package.tgz
npm ERR! tar.unpack untar error /root/.npm/rubberduck/1.0.1/package.tgz
npm ERR! tar.unpack untar error /root/.npm/primus/3.2.3/package.tgz
npm ERR! tar.unpack untar error /root/.npm/lodash/2.4.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/mkdirp/0.5.0/package.tgz
npm ERR! tar.unpack untar error /root/.npm/async/0.9.0/package.tgz
npm ERR! tar.unpack untar error /root/.npm/nedb/1.2.1/package.tgz
npm ERR! tar.unpack untar error /root/.npm/yauzl/2.3.1/package.tgz
npm ERR! tar.unpack untar error /root/.npm/express/4.13.3/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/usr/local/lib/node_modules/mysam/node_modules/feathers/node_modules/socket.io'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY: directory not empty, rmdir '/usr/local/lib/node_modules/mysam/node_modules/feathers/node_modules/socket.io']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/mysam/node_modules/feathers/node_modules/socket.io' }
npm ERR! tar.unpack untar error /root/.npm/primus-emitter/3.1.1/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/usr/local/lib/node_modules/mysam/node_modules/feathers-nedb/node_modules/feathers-errors/node_modules/lodash'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY: directory not empty, rmdir '/usr/local/lib/node_modules/mysam/node_modules/feathers-nedb/node_modules/feathers-errors/node_modules/lodash']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/mysam/node_modules/feathers-nedb/node_modules/feathers-errors/node_modules/lodash' }
npm ERR! tar.unpack untar error /root/.npm/iconv-lite/0.4.12/package.tgz
npm ERR! tar.unpack untar error /root/.npm/uberproto/1.1.2/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/usr/local/lib/node_modules/mysam/node_modules/natural-brain/node_modules/natural'
npm ERR! error rolling back at Error (native)
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY: directory not empty, rmdir '/usr/local/lib/node_modules/mysam/node_modules/natural-brain/node_modules/natural']
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/mysam/node_modules/natural-brain/node_modules/natural' }
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/myusername/downloads/npm-debug.log
npm ERR! not ok code 0
I was able to install on my MBP. However, I'm having issues with the mic. I disabled "Oversight" (it alerts me if anyone/apps tries to ear hustle), but the microphone is disabled even when I press "Press Ctrl + Space." The strike flashes. In other words, it cuts on and off and I'm not able to get to the next screen.
C:\node.js\mysam>npm install mysam
> [email protected] postinstall C:\node.js\mysam\node_modules\mysam\node_modules\electron-prebuilt
> node install.js
-
> [email protected] install C:\node.js\mysam\node_modules\mysam\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
> node-gyp rebuild
C:\node.js\mysam\node_modules\mysam\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/Python27/python.exe", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node.js\mysam\node_modules\mysam\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
> [email protected] install C:\node.js\mysam\node_modules\mysam\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
> node-gyp rebuild
C:\node.js\mysam\node_modules\mysam\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/Python27/python.exe", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node.js\mysam\node_modules\mysam\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
> [email protected] install C:\node.js\mysam\node_modules\mysam\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
> node-gyp rebuild
C:\node.js\mysam\node_modules\mysam\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/Python27/python.exe", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node.js\mysam\node_modules\mysam\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
> [email protected] install C:\node.js\mysam\node_modules\mysam\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
> node-gyp rebuild
C:\node.js\mysam\node_modules\mysam\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/Python27/python.exe", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node.js\mysam\node_modules\mysam\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:73:28)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:76:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:84:16
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN addRemoteGit git://github.com/bitovi/systemjs.git#0.16.6-bitovi.7 resetting remote C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bitovi-systemjs-git-bbacc7ff because of error: { [Error: not found: git] code: 'ENOGIT' }
npm ERR! git clone --template=C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bitovi/systemjs.git C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bitovi-systemjs-git-bbacc7ff: undefined
npm ERR! git clone --template=C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bitovi/systemjs.git C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bitovi-systemjs-git-bbacc7ff: undefined
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "mysam"
npm ERR! node v4.1.1
npm ERR! npm v2.14.4
npm ERR! code ENOGIT
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request:
npm ERR! C:\node.js\mysam\npm-debug.log
C:\node.js\mysam>
C:\node.js\mysam2>npm install
> [email protected] install C:\node.js\mysam2\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
> node-gyp rebuild
C:\node.js\mysam2\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/Python27/python.exe", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node.js\mysam2\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
> [email protected] install C:\node.js\mysam2\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
> node-gyp rebuild
C:\node.js\mysam2\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/Python27/python.exe", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node.js\mysam2\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]
> [email protected] install C:\node.js\mysam2\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
> node-gyp rebuild
C:\node.js\mysam2\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gy else (node rebuild ) es\node-gyp\bin\node-gyp.js" rebuild -)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/Python27/python.exe", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node.js\mysam2\node_modules\mysam-frontend\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
> [email protected] install C:\node.js\mysam2\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
> node-gyp rebuild
C:\node.js\mysam2\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "/Python27/python.exe", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\node.js\mysam2\node_modules\feathers\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
> [email protected] postinstall C:\node.js\mysam2\node_modules\electron-prebuilt
> node install.js
npm WARN optional dep failed, continuing [email protected]
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:73:28)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:76:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:84:16
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN addRemoteGit git://github.com/bitovi/systemjs.git#0.16.6-bitovi.7 resetting remote C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bitovi-systemjs-git-bbacc7ff because of error: { [Error: not found: git] code: 'ENOGIT' }
npm ERR! git clone --template=C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bitovi/systemjs.git C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bitovi-systemjs-git-bbacc7ff: undefined
npm ERR! git clone --template=C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bitovi/systemjs.git C:\Users\Seb\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bitovi-systemjs-git-bbacc7ff: undefined
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.1.1
npm ERR! npm v2.14.4
npm ERR! code ENOGIT
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request:
npm ERR! C:\node.js\mysam2\npm-debug.log
C:\node.js\mysam2>
Can mysam run on a linux server ?
I am not able to make work for checking What is the weather like in Berlin?
Is there any impact of below errors in installation?
E:>npm install mysam -g
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[email protected] postinstall C:\Users\xyz\AppData\Roaming\npm\node_modules\mysam\node_modules\electron-prebuilt
node install.js
C:\Users\xyz\AppData\Roaming\npm\mysam -> C:\Users\xyz\AppData\Roaming\npm\node_modules\mysam\bin\mysam
[email protected] C:\Users\xyz\AppData\Roaming\npm\node_modules\mysam
βββ [email protected]
βββ [email protected] ([email protected])
βββ [email protected]
βββ [email protected] ([email protected])
βββ [email protected]
βββ [email protected] ([email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
, [email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], socket.io@
1.4.8, [email protected])
βββ [email protected] ([email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected].
0, [email protected], [email protected], [email protected])
if i run >mysam --Develop, it shows some exceptions and javascript gets into chrome browser debugger
Potentially unhandled rejection [6] TypeError: Error loading "sam/[email protected]#view/stache/system" at
Error loading "sam/[email protected]#view/stache/system" from "sam/app" at http://localhost:9090/sam/app.js
Error loading "[email protected]#view/stache/system" at http://localhost:9090/node_modules/can/view/stache/system.js
$.buildFragment is not a function
at Object.$.extend.buildFragment (http://localhost:9090/node_modules/can/util/jquery/jquery.js:46:12)
at http://localhost:9090/node_modules/can/util/jquery/jquery.js:252:15
at http://localhost:9090/node_modules/can/util/jquery/jquery.js:268:4
at stealInstantiateResult.execute (http://localhost:9090/node_modules/steal/steal.js:5806:32)
at linkDynamicModule (http://localhost:9090/node_modules/steal/steal.js:3547:32)
at linkDynamicModule (http://localhost:9090/node_modules/steal/steal.js:3541:11)
at linkDynamicModule (http://localhost:9090/node_modules/steal/steal.js:3541:11)
at linkDynamicModule (http://localhost:9090/node_modules/steal/steal.js:3541:11)
at link (http://localhost:9090/node_modules/steal/steal.js:3407:11)
at Object.execute (http://localhost:9090/node_modules/steal/steal.js:3726:11)
Any help? What is that i am missing?
Thx
Here's the log:
npm ERR! git clone --template=/Users/MYNAME/.npm/_git-remotes/_templates --mirror git://github.com/bitovi/systemjs.git /Users/MYNAME/.npm/_git-remotes/git-github-com-bitovi-systemjs-git-0-16-6-bitovi-7-fc4337c5: Cloning into bare repository '/Users/MYNAME/.npm/_git-remotes/git-github-com-bitovi-systemjs-git-0-16-6-bitovi-7-fc4337c5'...
npm ERR! git clone --template=/Users/MYNAME/.npm/_git-remotes/_templates --mirror git://github.com/bitovi/systemjs.git /Users/MYNAME/.npm/_git-remotes/git-github-com-bitovi-systemjs-git-0-16-6-bitovi-7-fc4337c5: fatal: read error: Operation timed out
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "mysam" "-g"
npm ERR! node v6.2.1
npm ERR! npm v3.10.5
npm ERR! code 128
npm ERR! Command failed: git clone --template=/Users/MYNAME/.npm/_git-remotes/_templates --mirror git://github.com/bitovi/systemjs.git /Users/MYNAME/.npm/_git-remotes/git-github-com-bitovi-systemjs-git-0-16-6-bitovi-7-fc4337c5
npm ERR! Cloning into bare repository '/Users/MYNAME/.npm/_git-remotes/git-github-com-bitovi-systemjs-git-0-16-6-bitovi-7-fc4337c5'...
npm ERR! fatal: read error: Operation timed out
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
Thoughts guys?
Hi
I cloned the main repo and tested v0.1.1 but when running mysam, a alert comes up saying
"A Javascript error occured in the main process"
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/mysam/db-data/actions'
at Error (native)
and another one
Uncaught Exception:
Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/mysam/db-data/configuration'
at Error (native)
Electron window still shows up, but the throbber spins indefinitely.
Thanks.
Jorge.
As someone who's name is Sam, it would be nice to switch the triggering name to something else. Is this possible? I did not see anything to this effect in the README.
Hi.
I noticed the app understands the language your computer is in.
For example, if I am on a chinese computer, I will not be able to speak english if I am not chinese.
However, this is a good thing if you speak the language your computer understands.
It's not annoying once everything is reconfigured, but maybe adding some languages templates would be great.
Hi,
Very keen to try this out but I encountered the following error when attempting to install
npm ERR! Darwin 15.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "mysam" "-g"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! code 128
npm ERR! Command failed: git clone --template=/Users/forbes/.npm/_git-remotes/_templates --mirror ssh://[email protected]/jeresig/jquery.hotkeys.git /Users/forbes/.npm/_git-remotes/ssh-git-github-com-jeresig-jquery-hotkeys-git-1383c260
npm ERR! Cloning into bare repository '/Users/forbes/.npm/_git-remotes/ssh-git-github-com-jeresig-jquery-hotkeys-git-1383c260'...
npm ERR! Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
Attempted to sudo npm install but encountered the same error
thanks
Hi @daffl !
Can i adapt mysam to another language? im my case the brazilian/portuguese, it will recognize?
thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.