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

Error: The specified module could not be found. @parcel\fs-search\fs-search.win32-x64-msvc.node #6725

Closed
masx200 opened this issue Aug 15, 2021 · 8 comments

Comments

@masx200
Copy link

masx200 commented Aug 15, 2021

🐛 bug report

🎛 Configuration (.babelrc, package.json, cli command)

{
    "devDependencies": {
        "parcel": "2.0.0-nightly.799"
    },
    "name": "jsfuck-and-hieroglyphy-decoder-and-encoder",
    "version": "1.0.0",
    "main": "index.js",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/masx200/JSfuck-and-hieroglyphy-Decoder-and-ENCODER.git"
    },
    "author": "masx200 <[email protected]>",
    "license": "MIT",
    "description": "JSfuck and hieroglyphy Decoder and  ENCODER",
    "bugs": {
        "url": "https://github.com/masx200/JSfuck-and-hieroglyphy-Decoder-and-ENCODER/issues"
    },
    "homepage": "https://github.com/masx200/JSfuck-and-hieroglyphy-Decoder-and-ENCODER#readme",
    "scripts": {
        "build": "parcel build ./src/*.html",
        "start": "parcel serve ./src/*.html",
        "format": "npx prettier --write *.md *.json */*.js */*.html */*.css"
    },
    "keywords": [],
    "dependencies": {
        "prettier": "^2.3.2"
    }
}

🤔 Expected Behavior

😯 Current Behavior

 npx parcel serve src/index.html


Error: The specified module could not be found.
\\?\D:\Documents\GitHub\JSfuck-and-hieroglyphy-Decoder-and-ENCODER\node_modules\@parcel\fs-search\fs-search.win32-x64-msvc.node
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (D:\Documents\GitHub\JSfuck-and-hieroglyphy-Decoder-and-ENCODER\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
    at Object.<anonymous> (D:\Documents\GitHub\JSfuck-and-hieroglyphy-Decoder-and-ENCODER\node_modules\@parcel\fs-search\index.js:19:20)
    at Module._compile (D:\Documents\GitHub\JSfuck-and-hieroglyphy-Decoder-and-ENCODER\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  code: 'ERR_DLOPEN_FAILED'
}

💁 Possible Solution

🔦 Context

💻 Code Sample

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>My First Parcel App</title>
    </head>
    <body>
        <h1>Hello, World!</h1>
    </body>
</html>

🌍 Your Environment

Software Version(s)
Parcel "2.0.0-nightly.799"
Node v16.6.2
npm/Yarn yarn 1.22.10
Operating System Microsoft Windows [版本 10.0.19043.1165]
@mischnic
Copy link
Member

That file does exist: https://unpkg.com/browse/@parcel/[email protected]/

Does deleting the node_modules folder and rerunning Yarn fix it?

@masx200
Copy link
Author

masx200 commented Aug 15, 2021

I found that the file does exist, maybe it has an incompatibility issue on Windows?

@masx200
Copy link
Author

masx200 commented Aug 15, 2021

"parcel": "2.0.0-beta.3.1"

I found that after the downgrade, there is no such problem.

@PhanDungTri
Copy link

I have a same problem. Downgrading to 2.0.0-beta.3.1 doesn't help me solve this issue.

@PhanDungTri
Copy link

After update Windows, it works again.

@mischnic mischnic closed this as completed Oct 8, 2021
@rkboy7682
Copy link

Also i am getting this error (The specified module could not be found). plz help how to resolve it.

@mischnic
Copy link
Member

mischnic commented Jan 4, 2023

Does this help? #7104 (comment)

@rkboy7682
Copy link

no its not working.

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

No branches or pull requests

4 participants