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

No such module: evals #75

Open
dcsan opened this issue Dec 9, 2017 · 2 comments
Open

No such module: evals #75

dcsan opened this issue Dec 9, 2017 · 2 comments

Comments

@dcsan
Copy link

dcsan commented Dec 9, 2017

got the following on trying to use Dust. is there a dependency missing?

env: node 7.9

  localDataPath: '/Users/dc/dev/rikai/tutorbot/papp/server/data' } +0ms
/Users/dc/dev/rikai/tutorbot/papp/server/node_modules/dust/lib/server.js:4
    Script = process.binding('evals').Script;
                     ^

Error: No such module: evals
    at Object.<anonymous> (/Users/dc/dev/rikai/tutorbot/papp/server/node_modules/dust/lib/server.js:4:22)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/dc/dev/rikai/tutorbot/papp/server/node_modules/dust/lib/dust.js:511:7)
    at Module._compile (module.js:571:32)
[nodemon] app crashed - waiting for file changes before starting...
@LucStr
Copy link

LucStr commented Aug 3, 2018

Same here, any fix for this?

Using Node v.8.11.1 on Windows 10

@LucStr
Copy link

LucStr commented Aug 3, 2018

I was able to fix it by using the following fork:

https://github.com/caolan/dustjs

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

No branches or pull requests

2 participants