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

npm install & npm test is failing on windows with speech sample #404

Closed
GH-rajasekharReddy opened this issue Jun 19, 2017 · 2 comments
Closed
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@GH-rajasekharReddy
Copy link

I am new to nodejs.

when doing "npm test" for speech sample, gettting the below error.

running on windows and error details are given below,

[email protected] pretest E:\nodejs_voicer\nodejs-docs-samples\speech
npm run lint

[email protected] lint E:\nodejs_voicer\nodejs-docs-samples\speech
samples lint

lint: Linting files in: E:\nodejs_voicer\nodejs-docs-samples\speech
lint: Running: semistandard
events.js:160
throw er; // Unhandled 'error' event
^

Error: spawn semistandard ENOENT
at exports._errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3

npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\rajbh\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "lint"
npm ERR! node v6.10.0
npm ERR! npm v4.3.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] lint: samples lint
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] lint script 'samples lint'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nodejs-docs-samples-speech package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! samples lint
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nodejs-docs-samples-speech
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nodejs-docs-samples-speech
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\rajbh\AppData\Roaming\npm-cache_logs\2017-06-19T12_05_07_367Z-debug.log
npm ERR! Test failed. See above for more details.

trying to install dependencies with "npm install" it failed. Its error details are below,

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

appreciate the guidance.

@shahmirn
Copy link

Seeing the same issue in OSX high sierra for the helloworld function

@fhinkel
Copy link
Contributor

fhinkel commented Nov 8, 2018

If the issue still persists, please file it here. Thank you.

@fhinkel fhinkel closed this as completed Nov 8, 2018
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 6, 2020
NimJay pushed a commit that referenced this issue Nov 11, 2022
🤖 I have created a release \*beep\* \*boop\* 
---
### [2.1.4](https://www.github.com/googleapis/nodejs-kms/compare/v2.1.3...v2.1.4) (2020-11-25)


### Bug Fixes

* **browser:** check for fetch on window ([#404](https://www.github.com/googleapis/nodejs-kms/issues/404)) ([96a90e3](https://www.github.com/googleapis/nodejs-kms/commit/96a90e3bea1c8b7e8e2d57cc1eb6204ed326b915))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
ace-n pushed a commit that referenced this issue Nov 11, 2022
🤖 I have created a release \*beep\* \*boop\* 
---
### [2.1.4](https://www.github.com/googleapis/nodejs-kms/compare/v2.1.3...v2.1.4) (2020-11-25)


### Bug Fixes

* **browser:** check for fetch on window ([#404](https://www.github.com/googleapis/nodejs-kms/issues/404)) ([96a90e3](https://www.github.com/googleapis/nodejs-kms/commit/96a90e3bea1c8b7e8e2d57cc1eb6204ed326b915))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
telpirion pushed a commit that referenced this issue Nov 16, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
ahrarmonsur pushed a commit that referenced this issue Nov 18, 2022
* chore(main): release 4.1.3

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Shabirmean pushed a commit that referenced this issue Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

5 participants