Calling grunt fails on linux server
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
While trying to run grunt on a new machine using a file that I have seen work before I get this error:
```
grunt[41447]: ../src/node_contextify.cc:676:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo&): Assertion `args[1]->IsString()' failed.
1: 0xa04200 node::Abort() [grunt]
2: 0xa0427e [grunt]
3: 0x9f5b93 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo const&) [grunt]
4: 0xbe6715 [grunt]
5: 0xbe6d1f [grunt]
6: 0xbe7346 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [grunt]
7: 0x1401319 [grunt]
Aborted (core dumped)
```
This is similar to #1660, but since I have never had any prior version of node or npm on this server, I'm at a lost to how to fix this. If a lower version of node, or a specific version of natives is required, it would be nice to have this in the documentation.
Node: 14.15.5 (also failed on 10.19.0)
Npm: 6.14.11
Contributor guide
Research direction
Start by reproducing the failure with the reported Node 14.15.5 and 10.19.0 versions, then compare the symptoms and troubleshooting context in issue #1660. Determine whether the failure is a compatibility or documentation problem; done means the required Node, npm, or natives versions and a reliable workaround are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100