Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Error when installing on Windows 7 #89

Open
pedrotnascimento opened this issue Aug 15, 2016 · 3 comments
Open

Error when installing on Windows 7 #89

pedrotnascimento opened this issue Aug 15, 2016 · 3 comments

Comments

@pedrotnascimento
Copy link

Hi,
I tried to install this package and it gave error, can you help me?. The log is below:

[email protected] postinstall C:\Users\pedro.nascimento\node_modules\faste
r-titanium
dist/bin/faster-ti install

'dist' is not recognized as an internal or external command, operable program or batch file
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "c:\Program Files (x86)\nodejs\node.exe" "c:\Program Files (x8
6)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "C:/Users/pedro.nascim
ento/Downloads/faster-titanium-master/faster-titanium-master"
npm ERR! node v0.12.10
npm ERR! npm v2.14.9
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: dist/bin/faster-ti install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'dist/bin/faster
-ti install'.
npm ERR! This is most likely a problem with the faster-titanium package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! dist/bin/faster-ti install
npm ERR! You can get their info via:
npm ERR! npm owner ls faster-titanium
npm ERR! There is likely additional logging output above.

[email protected] preuninstall C:\Users\pedro.nascimento\AppData\Roaming\n
pm\node_modules\faster-titanium
dist/bin/faster-ti uninstall

'dist' is not recognized as an internal or external command, operable program or batch file
npm WARN continuing anyway [email protected] preuninstall: dist/bin/faster- ti uninstall
npm WARN continuing anyway Exit status 1

npm ERR! Please include the following file with any support request:

npm ERR! C:\Users\pedro.nascimento\npm-debug.log

I tried installing using git adress to the bucket, the package downloaded, npm install -g faster-titanium,

My node and npm version is on the log.

Thanks

@pedrotnascimento
Copy link
Author

i think that the problem is because in the error line should be \dist\ instead /dist/
I was looking for and found that this may solve the problem,:
swagger-api/swagger-ui#68

I hope this helps you to solve the problem!!

@shinout
Copy link
Member

shinout commented Aug 16, 2016

Thanks for your report. I'd appreciate if you fix it and send a PR. Executable files are located on src/bin. Script paths are written in package.json.

@AlessandroSangiuliano
Copy link

I confirm this issue on Windows 7. It happens to me too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants