Skip to content

nodeModulesDir: manual takes no effect #369

@JounQin

Description

@JounQin

Due to denoland/deploy_feedback#802 (comment)

I'm using nodeModulesDir: manual mode with yarn install for creating node_modles structure, it works fine without deno install on local development, but I'm still meeting this error when using this action, see https://github.com/devno-js/deeplx/actions/runs/14432033488/job/40467971038#step:6:27

Error: Cannot find module 'whatlang-node-linux-x64-gnu'
Require stack:
- /node_modules/.deno/whatlang-node@0.1.0/node_modules/whatlang-node/index.js
- /node_modules/.deno/whatlang-node@0.1.0/node_modules/whatlang-node/index.js
    at Module._resolveFilename (node:module:619:15)
    at Module._load (node:module:497:[27](https://github.com/devno-js/deeplx/actions/runs/14432033488/job/40467971038#step:6:28))
    at Module.require (node:module:681:19)
    at require (node:module:816:16)
    at Object.<anonymous> (file:///node_modules/.deno/whatlang-node@0.1.0/node_modules/whatlang-node/index.js:172:31)
    at Object.<anonymous> (file:///node_modules/.deno/whatlang-node@0.1.0/node_modules/whatlang-node/index.js:236:4)
    at Module._compile (node:module:745:34)
    at loadMaybeCjs (node:module:770:10)
    at Object.Module._extensions..js (node:module:755:12)
    at Module.load (node:module:662:[32](https://github.com/devno-js/deeplx/actions/runs/14432033488/job/40467971038#step:6:33))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions