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

Error in Contextify Script #643

Open
bretonio opened this issue Jan 23, 2019 · 0 comments
Open

Error in Contextify Script #643

bretonio opened this issue Jan 23, 2019 · 0 comments

Comments

@bretonio
Copy link

I have used Harp for several years now and it has served me everything about templating.

But lately it has begun to throw this fatal error when running harp server.

  node[29660]: ../src/node_contextify.cc:628:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
 1: 0x948d20 node::Abort() [node]
 2: 0x948db5  [node]
 3: 0x946d8e node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [node]
 4: 0xb9698f  [node]
 5: 0xb98952 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]
 6: 0x3d9e9704fb5d 

My current node version is 11.6.0 and runs on Debian. Harp version is 0.25.0.

When I downgrade the Node version to 6.5.0, however, I am good to go again — nvm use 6.5.0.

Installing contextify globally and locally as suggested has no effect. In fact, after installing the command nvm list contextify returns empty.

Another workaround was to set nvm use 6.5.0 and then run npm install -g node-inspector --unsafe-perm as per this thread. There the node version used was 5.2.0.

Just a heads up.

It may not be a Harp issue strictly speaking and I am sorry if so. Thanks.

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

1 participant