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

Can't run the workshop in window terminal #259

Open
Violet-XiaoWeiHuang opened this issue Feb 15, 2019 · 8 comments
Open

Can't run the workshop in window terminal #259

Violet-XiaoWeiHuang opened this issue Feb 15, 2019 · 8 comments
Labels

Comments

@Violet-XiaoWeiHuang
Copy link
Contributor

I have installed the npm and Node.js in Windows . And I have installed the module successfully.
However, when I run the workshop by using Windows cmd, it shows
"'javascripting' is not recognized as an internal or external command, operable program or batch file."
And the ERRORLEVEL of it is 9009, which is a script execution error.

javascriptingcapture

Did anyone meet and solve this issue?

@Violet-XiaoWeiHuang
Copy link
Contributor Author

@sethvincent

@Violet-XiaoWeiHuang Violet-XiaoWeiHuang changed the title Cann't run the workshop in window terminal Can't run the workshop in window terminal Feb 15, 2019
@itzsaga
Copy link
Member

itzsaga commented Feb 15, 2019

@itzsaga
Copy link
Member

itzsaga commented Feb 15, 2019

Also, this could be an issue with your Node install and the npm install not being added to your PATH correctly. You can see #195 where they had the same error of javascripting' is not recognized as an internal or external command, operable program or batch file. Let us know if you figure it out and if not what you've tried and what errors you are still getting.

@Violet-XiaoWeiHuang
Copy link
Contributor Author

Hi @itzsaga,

I use #195 to fix it. But it failed on my w10 Powershell.
When I directed to C:\Users\monkey\AppData\Roaming\npm\node_modules\javascripting\bin where installs

#!/usr/bin/env node
require('../index').execute(process.argv.slice(2))
the executable file.
After I run .\javascripting, it shows
can t run the workshop in window terminal

And this javascripting file is not a .exe file and .exe file can be run in Windows. And this javascripting file is UNIX shell script. I think it could be another reason it fails on the Windows system.

@ewerton-azevedo
Copy link

Try installing gitbash for windows. It will solve your problem.
https://gitforwindows.org/

@lupomontero
Copy link
Contributor

For reference, we run regularly run workshops using this workshopper in Lima and windows users always encounter issues... for most users, the terminal inside VSCode is the simplest solution 🙊.

@a0viedo
Copy link
Member

a0viedo commented Sep 13, 2019

it works on PowerShell for me, seems like Node installation issues
image

@LaneGold
Copy link

I am getting the following error when trying to load the javascript code:
lanegold@Lanes-MacBook-Air lighthouse % npm install -g javascripting
npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated colors-tmpl@1.0.0: no longer maintained
npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'

changed 124 packages, and audited 125 packages in 1s

4 packages are looking for funding
run npm fund for details

7 vulnerabilities (3 moderate, 4 high)

To address all issues, run:
npm audit fix

Run npm audit for details.
lanegold@Lanes-MacBook-Air lighthouse %

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

No branches or pull requests

7 participants