You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Cannot find module 'undom/register'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/Users/priand/CommerceCloudDev/source/StencilJS/skatejs/packages/ssr/register/index.js:14:1)
at Module._compile (module.js:652:30)
at loader (/Users/priand/CommerceCloudDev/source/StencilJS/skatejs/packages/ssr/example/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/priand/CommerceCloudDev/source/StencilJS/skatejs/packages/ssr/example/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ssr-wc@1.0.0 start: node .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ssr-wc@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Expected behaviour
Should run :-)
The text was updated successfully, but these errors were encountered:
Yeah, it the module is there but there is no 'register' function.
I initially did not run bolt as I did not know that the example required it. I now did it but got a different error, see bellow ;-(
I'd like to start from scratch using a fresh clone. What commands need to be run in order to make the ssr example run?
TypeError: server.connection is not a function
at Object. (/Users/priand/webcomponents/skatejs/packages/ssr/example/index.js:13:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
Bug report
npm info skatejs version
)Current behaviour
npm start
on the SSR example (skatejs/packages/ssr/example) generates an error with undom. Looks like undom/register does not exists in undom 0.3.3module.js:549
throw err;
^
Error: Cannot find module 'undom/register'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/Users/priand/CommerceCloudDev/source/StencilJS/skatejs/packages/ssr/register/index.js:14:1)
at Module._compile (module.js:652:30)
at loader (/Users/priand/CommerceCloudDev/source/StencilJS/skatejs/packages/ssr/example/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/priand/CommerceCloudDev/source/StencilJS/skatejs/packages/ssr/example/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ssr-wc@1.0.0 start:
node .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ssr-wc@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Expected behaviour
Should run :-)
The text was updated successfully, but these errors were encountered: