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

Installation instructions missing? #488

Closed
Schmlughtz007 opened this issue Sep 18, 2018 · 5 comments
Closed

Installation instructions missing? #488

Schmlughtz007 opened this issue Sep 18, 2018 · 5 comments

Comments

@Schmlughtz007
Copy link

Hi there,

I want to install the D-Portal, but I don't know how, what is the technology used? nodejs? python? .net?
Could anyone point me to where to look

Thanks

@andylolz
Copy link
Contributor

Hi @Schmlughtz007!

Random IATI community member here (not a d-portal dev, but thought I’d chip in with a first pass.)

In the Features section of the README, there’s a link to:

Install your own d-portal.

You should find more information there.

@notshi
Copy link
Collaborator

notshi commented Sep 18, 2018

Thanks @andylolz - yes, that should work. It has been tested very recently but if you encounter any problems, please let us know.

@Schmlughtz007
Copy link
Author

Hi, it's still me ...

I tested on two different computers, but the error remains the same, is the error related to the python version or to the nodejs version?

[email protected] install D:\Projects\IATI\Web\DPortal\D-Portal\dstore\node_modules\node-expat
node-gyp rebuild

D:\Projects\IATI\Web\DPortal\D-Portal\dstore\node_modules\node-expat>if not defined npm_config_node_gyp (node "D:\Softs\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "D:\Softs\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: D:\Softs\Python\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:276:12)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "D:\Softs\nodejs\node.exe" "D:\Softs\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Projects\IATI\Web\DPortal\D-Portal\dstore\node_modules\node-expat
gyp ERR! node -v v8.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\xxx\Roaming\npm-cache_logs\2018-09-18T20_52_40_940Z-debug.log
npm notice created a lockfile as package-lock.json. You should commit this file.
added 138 packages from 81 contributors and audited 293 packages in 16.906s
found 0 vulnerabilities

@Schmlughtz007
Copy link
Author

It seems this is well known issue :
xmppo/node-expat#166
The solution is to launch powershell in admin mode and then :
npm install --global --production windows-build-tools

but this is using python 2.7 arghhh

@k8hughes
Copy link

I'm going to close this issue as Andy has shared the instructions.

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

4 participants