Skip to content

Module not found: Error: Can't resolve './nblas' in '/node_modules/nblas/dist' #36

@Roy-Kid

Description

@Roy-Kid

Hi developers,

After npm install nblas and of course install libblas-dev in wsl2, an error raises:

ERROR in ../app/node_modules/nblas/dist/index.js 10:12-45
Module not found: Error: Can't resolve '../build/Release/nblas' in '/home/jicli594/molcrafts/projects/molvis/app/node_modules/nblas/dist'
ERROR in ../app/node_modules/nlapack/dist/index.js 9:14-49
Module not found: Error: Can't resolve '../build/Release/nlapack' in '/home/jicli594/molcrafts/projects/molvis/app/node_modules/nlapack/dist'
ERROR in ../app/node_modules/nblas/dist/index.js 13:12-30
Module not found: Error: Can't resolve './nblas' in '/home/jicli594/molcrafts/projects/molvis/app/node_modules/nblas/dist'
ERROR in ../app/node_modules/nlapack/dist/index.js 12:14-34
Module not found: Error: Can't resolve './nlapack' in '/home/jicli594/molcrafts/projects/molvis/app/node_modules/nlapack/dist'

I don't know how to fix it and here is my nblas dir:

image

I have no clue, could you please help me?

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