Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Cannot find module 'okra-node' #21

@Lundii

Description

@Lundii

I installed the okra-node and followed the instruction to import it import * as okra_client from 'okra-node'; but I get this error

Error: Cannot find module 'okra-node'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)    
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (C:\Users\USER\Documents\Projects\tryphena-backend\src\routers\/index.js:2:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Module._compile (C:\Users\USER\Documents\Projects\tryphena-backend\node_modules\pirates\lib\index.js:99:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Object.newLoader [as .js] (C:\Users\USER\Documents\Projects\tryphena-backend\node_modules\pirates\lib\index.js:104:7)
    at Module.load (internal/modules/cjs/loader.js:653:32)

I tried using the run button on the homepage, but got similar error
error

Using version 0.1.7 works fine.

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