Open Violet-XiaoWeiHuang opened 5 years ago
@sethvincent
@Violet-XiaoWeiHuang did you open cmd
with Admin privileges? See: https://github.com/workshopper/javascripting#having-issues-with-installation
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.
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 https://github.com/workshopper/javascripting/blob/567d4003cb9727dde30ac67adc2cfc657d4d4440/bin/javascripting#L1-L3 the executable file.
After I run .\javascripting
, it shows
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.
Try installing gitbash for windows. It will solve your problem. https://gitforwindows.org/
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 :speak_no_evil:.
it works on PowerShell for me, seems like Node installation issues
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 %
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.
Did anyone meet and solve this issue?