Nunjucks: babel: nunjucks does not exist

Created on 13 Dec 2018  路  7Comments  路  Source: mozilla/nunjucks

While npm installing [email protected], the following error occurs:

> [email protected] build:transpile /Users/rj.beers/dev/x-web-maestro/node_modules/nunjucks
> babel nunjucks --out-dir .

babel:
  nunjucks does not exist

3.1.4 installs fine.

npm version used: 6.5.0
node version used: 8.14.0

Most helpful comment

I've released 3.1.6 and unpublished 3.1.5.

All 7 comments

Same issue for me.

Same, this is breaking all sorts of builds, both with older versions (node 6 / npm 2) and with node 8 / npm 6.

Same, I cannot even update my own software because of this issue. (node 10.8 / npm 6.5)

I was able to get around it by adding 3.1.4 as an explicit dependency in my own project

If anyone is using yarn, I am getting around this for now by adding this to my package.json:

"resolutions": {
  "nunjucks": "3.1.4"
}

oh my. I'm so sorry, I did a very dumb thing with this release. I'll fix immediately.

I've released 3.1.6 and unpublished 3.1.5.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

felipenmoura picture felipenmoura  路  7Comments

ziir picture ziir  路  3Comments

mattbasta picture mattbasta  路  6Comments

kamlekar picture kamlekar  路  5Comments

atian25 picture atian25  路  5Comments