🐛 bug report
After upgrading parcel-bundler from 1.11.0 to 1.12.0 our app throws an error when we try to run it after building.
🎛 Configuration (.babelrc, package.json, cli command)
Here is a command that I used:
node index.js config.json
🤔 Expected Behavior
It should run the app.
😯 Current Behavior
The app is not starting and throws an error:
/Users/michalsypko/Sites/bigcommerce/dist/backend/index.js:116
throw error;
^
Error: Cannot find module './../../../../backend/core.c3506fea.node'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at newRequire (/Users/michalsypko/Sites/bigcommerce/dist/backend/index.js:34:18)
at localRequire (/Users/michalsypko/Sites/bigcommerce/dist/backend/index.js:53:14)
at eval (eval at parcelRequire.dz+m (/Users/michalsypko/Sites/bigcommerce/dist/backend/index.js:31333:16), <anonymous>:1:1)
at Object.parcelRequire.dz+m (/Users/michalsypko/Sites/bigcommerce/dist/backend/index.js:31333:16)
at newRequire (/Users/michalsypko/Sites/bigcommerce/dist/backend/index.js:47:24)
at localRequire (/Users/michalsypko/Sites/bigcommerce/dist/backend/index.js:53:14)
🔦 Context
We are using lerna for our project to build backend and frontend of the app. It worked just fine with parcel-bundler@1.11.0.
🌍 Your Environment
| Software |
Version(s) |
| Parcel |
1.12.0 |
| Node |
10.11.0 |
| npm |
6.4.1 |
| Operating System |
MacOS Mojave v10.14.3 |
🐛 bug report
After upgrading parcel-bundler from
1.11.0to1.12.0our app throws an error when we try to run it after building.🎛 Configuration (.babelrc, package.json, cli command)
Here is a command that I used:
🤔 Expected Behavior
It should run the app.
😯 Current Behavior
The app is not starting and throws an error:
🔦 Context
We are using lerna for our project to build backend and frontend of the app. It worked just fine with
parcel-bundler@1.11.0.🌍 Your Environment