-
-
Notifications
You must be signed in to change notification settings - Fork 305
Missing package 'debug' for Express Application #36
Comments
No idea – can you give some idea of what your app looks like? What dependencies does it have? What's the main file you're running (index.js?) |
Interestingly, when I was testing some things out with installing express, I found the following Node.js bug: nodejs/node#6679 – so try with |
This looks like it. I tried changing the working directory and it solved the problem. I think it would be a good idea to change the working directory in the image itself. |
I disagree – the working directory of this base image should stay at the root, as it does for its parent (and the official Glad you solved the problem though! Hopefully that bug with v6 will be solved soon |
I see, that makes sense. Thanks for the help! |
Hi, I have the same problem but with morgan module, and I use mhart/alpine-node:latest. But when i build my docker image from mhart/alpine-node:5 it works fine. And i can't understand why? |
@Poison766 this comment explains why – it's a bug in Node v6. |
I read it. But when I use official image node:latest everything work fine without any problems |
@Poison766 ah, your question seemed to be why it worked in mhart/alpine-node:5 and not in mhart/alpine-node:latest Have you tried setting your |
While trying to package a NodeJS application I get the following stack trace:
Not sure why this is happening. I even tried building my own node image by compiling everything from source (like you did), and the same thing happened.
Any idea what might be causing this?
The text was updated successfully, but these errors were encountered: