Skip to content

nbb fails with ReferenceError: esm_import$path is not defined #287

Closed
@gdanov

Description

version

"version": "1.1.149",

platform

osx ventura

problem

~>nbb
file:///Users/gdanov/.nvm/versions/node/v18.12.1/lib/node_modules/nbb/lib/nbb_main.js:41
process.exit(0));$APP.n($APP.I3.g(b))&&($APP.ZB.l($APP.C([["nbb v",$APP.cx()].join("")])),process.exit(0));return $APP.n($APP.n(c)?c:$APP.n(d)?d:$APP.n(a)?a:$APP.n(e)?e:f)?($APP.BW.h($APP.FW,$APP.Eg($APP.MM.g(b))),Promise.resolve($APP.tZ($APP.n(e)?esm_import$path.resolve("script.cljs"):c,b)).then(function(){return($APP.n(c)?$APP.uZ(c):$APP.n(d)?$APP.vZ(d):$APP.n($APP.D3.g(b))?shadow_esm_import("./nbb_nrepl_server.js").then(function(){var g=$APP.D.h($APP.D.h($APP.Pq.g($APP.r($APP.Jq.g($APP.hw()))),
                                                                                                                                                                                                                                                        ^

ReferenceError: esm_import$path is not defined
    at file:///Users/gdanov/.nvm/versions/node/v18.12.1/lib/node_modules/nbb/lib/nbb_main.js:41:249
    at file:///Users/gdanov/.nvm/versions/node/v18.12.1/lib/node_modules/nbb/lib/nbb_main.js:43:283
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12)

Node.js v18.12.1

repro

nbb stopped working, not sure why. fresh node re-install does not help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions