Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Error: Cannot find module #456

Closed
d2rk87 opened this issue Jun 27, 2018 · 2 comments
Closed

Error: Cannot find module #456

d2rk87 opened this issue Jun 27, 2018 · 2 comments

Comments

@d2rk87
Copy link

d2rk87 commented Jun 27, 2018

Use express + sequelize
Error: Cannot find module 'D:\snapshot\thin-client-app-service\node_modules\sql\lib\node\alias'

  1. If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Function.Module._resolveFilename (module.js:534:15)
    at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1269:46)
    at Function.Module._load (module.js:464:25)
    at Module.require (module.js:577:17)
    at Module.require (pkg/prelude/bootstrap.js:1153:31)
    at require (internal/module.js:11:18)
    at Object. (D:\snapshot\thin-client-app-service\node_modules\sql\lib\node\binary.js:0:0)
    at Module._compile (pkg/prelude/bootstrap.js:1243:22)
    at Object.Module._extensions..js (module.js:644:10)
    at Module.load (module.js:552:32)
@darrensapalo
Copy link

I think that this is related to native addons.

@hipstersmoothie
Copy link
Contributor

closing in favor of #477

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

No branches or pull requests

3 participants