Giter VIP home page Giter VIP logo

Comments (5)

zendesk-rickschmoo avatar zendesk-rickschmoo commented on September 27, 2024 1

@AlinCiocan Try an earlier version of node. I've seen these issues, and switching to node 14 has fixed everything for me.

from js-a11y-workshop.

marcysutton avatar marcysutton commented on September 27, 2024

Sharp strikes again! Thanks for providing the stack trace. I searched and found a thread that looks very similar: https://stackoverflow.com/questions/57217251/getting-gyp-err-stack-syntaxerror-invalid-syntax-while-executing-npm-insta?noredirect=1&lq=1

The OP said they resolved it by installing a specific version of Python 2. 🤷🏻‍♀️ What version of Python is running on your machine?

Actually this error got resolved after installing Python 2 (exact version - 2.7.15) and pointing the environment variable PYTHON to C:\Python27\python.exe

from js-a11y-workshop.

AlinCiocan avatar AlinCiocan commented on September 27, 2024

You are right, I have Python version 3.9.4

I have installed also Python 2.7.15 and then run npm install --force, however I got the same error, because the npm still uses the Python3.

image

Environment variables:
image

Npm error (using Python3):
image

from js-a11y-workshop.

jaredcunha avatar jaredcunha commented on September 27, 2024

I ran into npm install issues as well on an M1 Mac. Using Node 14 did the trick, but in order to install it, I had to run nvm install 14 with Rosetta.

from js-a11y-workshop.

sakuthush avatar sakuthush commented on September 27, 2024

Tried an earlier version of node, switching to node 14. Still no progress and cant use the course materials to progress.

from js-a11y-workshop.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.