Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Errors on latest release #395

Closed
mattvb91 opened this issue Feb 16, 2021 · 4 comments · Fixed by #471
Closed

Errors on latest release #395

mattvb91 opened this issue Feb 16, 2021 · 4 comments · Fixed by #471
Labels
bug Something isn't working
Projects

Comments

@mattvb91
Copy link
Member

Latest master release has following errors:

Uncaught (in promise) TypeError: Failed to resolve module specifier "autoprefixer". Relative references must start with either "/", "./", or "../".
TypeError: Failed to resolve module specifier "crypto-hash". Relative references must start with either "/", "./", or "../".

I think the crypto-hash error was introduced due to upgrading to hashed queries in apollo client. Not sure about autoprefixer

@mattvb91 mattvb91 added the bug Something isn't working label Feb 16, 2021
@mattvb91 mattvb91 added this to To do in Corejam 1.0 via automation Feb 16, 2021
@patrickhaug
Copy link
Contributor

Stencil config template changed. This is the reason for this bug, should be manually patched, and should more prominent in information what to do during upgrade .. sorry

Stencil config needs - until we export our own stencil config:
import nodePolyfills from "rollup-plugin-node-polyfills";
and
const config: Config = { .. rollupPlugins: { after: [nodePolyfills()], }, };

@mattvb91
Copy link
Member Author

@patrickhaug I think we need to adjust the CLI template to close this then?

@patrickhaug
Copy link
Contributor

#398 has updated config

@mattvb91 mattvb91 reopened this Feb 26, 2021
@mattvb91
Copy link
Member Author

This is still open. Relates to #399

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Corejam 1.0
  
To do
Development

Successfully merging a pull request may close this issue.

2 participants