Closed AmitMY closed 6 years ago
What version of Node are you running? Id recommend Node 8 LTS or Node 9
8.1.2
Try deleting the node_modules and updating to node 8.9.4, then installing and trying
Upgraded to 9.7.1
actually, same issues
@AmitMY Try with stencil 0.6.2 in package.json. There was an issue https://github.com/ionic-team/stencil/issues/452 with import that has been fixed.
That's worse :(
[ ERROR ] Cannot find module 'rollup-plugin-node-resolve' at Function.Module._resolveFilename (module.js:557:15) at Function.Module._load (module.js:484:25) at Module.require (module.js:606:17) at require (internal/module.js:11:18) at NodeSystem.get rollup [as rollup] (D:\dev\pma-backend\node_modules\@stencil\core\dist\sys\node\index.js:1043:26) at D:\dev\pma-backend\node_modules\@stencil\core\dist\compiler\index.js:2024:28 at Generator.next (
) at D:\dev\pma-backend\node_modules\@stencil\core\dist\compiler\index.js:2010:71 at new Promise ( ) at __awaiter$6 (D:\dev\pma-backend\node_modules\@stencil\core\dist\compiler\index.js:2006:12)
Hello all! These issues have been fixed in the latest release of Stencil and I just update the toolkit to use the latest release. Thanks for using the Ionic PWA Toolkit!
Resources: Before submitting an issue, please consult our docs.
Stencil version: (run
npm list @stencil/core
from a terminal/cmd prompt and paste output below):I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
Build info:
So far, build issues. Now, runtime issues:
Add this to
app-home
In console:
Doing the same thing on an ionic starter does not yield this error.
Other information: Windows, Chrome