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 Start Error - Could not find module "@parcel/transformer-sass" satisfying 2.8.0. #220

Open
Viraj-Bagga opened this issue Nov 25, 2022 · 8 comments
Labels

Comments

@Viraj-Bagga
Copy link

Viraj-Bagga commented Nov 25, 2022

When I try to start the project, this is what I get.

image

In the package.json, it originally had it as like 2.0.1 or something like that. I tried changing it to my current version of @parcel/transformer-sass, and 2.8.0 because that is the version the error is talking about, but it isn't working. Any Ideas?

@kailew
Copy link

kailew commented Dec 21, 2022

did you figure it out?

@cobiwave
Copy link
Owner

Hi @Viraj-Bagga @kailew

Are you still getting the mentioned issue?

Please do a copy of the following package.json (current from the master branch)

{
  "name": "simplefolio",
  "version": "1.0.1",
  "private": "true",
  "description": "A clean, beautiful and responsive portfolio template for Developers!",
  "source": "src/index.html",
  "scripts": {
    "start": "parcel",
    "build": "parcel build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cobiwave/simplefolio"
  },
  "keywords": [],
  "author": "Jacobo Martinez",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/cobiwave/simplefolio/issues"
  },
  "homepage": "https://github.com/cobiwave/simplefolio#readme",
  "devDependencies": {
    "@parcel/transformer-sass": "^2.8.2",
    "parcel": "^2.8.2",
    "prettier": "^2.8.1"
  },
  "dependencies": {
    "@popperjs/core": "^2.11.6",
    "bootstrap": "^5.2.3",
    "jquery": "^3.6.3",
    "popper.js": "^1.16.1",
    "vanilla-tilt": "^1.8.0"
  }
}

after that, please use the required node version: 16.14.2 and delete the node_modules folder.

Finally: npm run install && npm run start

@Just9krish
Copy link

After using the above package.json file, The problem is still not solved.

@kailew
Copy link

kailew commented Jan 24, 2023

All good I figured it out. I had not added the hyperlink

@manishgp94
Copy link

I had same issue, after installing parcel it got resolved.
npm install parcel --save-dev

@jakariyaa
Copy link

I had same issue, after installing parcel it got resolved. npm install parcel --save-dev

@cobiwave this one solved the issue.

@ndulepski95
Copy link

I had to update both parcel and parcel/transformer-sass to 2.9.3 and then it worked

@Alfiegun
Copy link

Alfiegun commented Mar 25, 2024

best bet, first run npm install parcel --save-dev
then npm i @parcel/[email protected]

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

8 participants