-
Notifications
You must be signed in to change notification settings - Fork 27
error on npm run start-watch #60
Comments
you have run |
Yes. This is what I've followed so far. gregkbarnes/blank-canvas@f21b1f1 After adding that, it starts with no errors. |
Now, when I run npm run start. I get the mattermost window popping up, but it's a blank white screen. |
we don't use Promise anywhere in our library, so adding a dependency for something our own modules don't use wouldn't be something we'd do. It looks like this is a result of webpack-contrib/css-loader#144, and that you're using a very old version of node. We do need to add an "engines" block to our package.json so a warning will be thrown when you're using a version of node prior to v4. |
@H3Chief This is on a ubuntu server, with node installed using apt-get. If the library doesn't use Promise, why was I seeing that Promise error? |
Unfortunately, the pre-built packages in the apt-get repos are often quite outdated. 😞 Can you run For a while a guy named Chris Lea had something called a PPA that people were using to get the more recent builds, but I think now they're trying to get people to use these nodesource distributions? Oh wait, yeah! Here it is. Now there's Installing Node.js via package manager on the node site. That's probably your best bet.
One of the underlying dependencies must be using the native Promise object. |
The Webpack/css-loader package uses them. See the issue I referenced above, it explains why you're seeing the Promise error. |
ERROR in ./~/css-loader!./src/browser/index.css
Module build failed: ReferenceError: Promise is not defined
any ideas?
The text was updated successfully, but these errors were encountered: