The Spartacus app works fine without SSR enabled. After enabling SSR, it builds fine (yarn buikd:ssr), however when I try to access the main page (yarn dev:ssr) I got the following error:
TypeError: Cannot read property 'location' of undefined
at OAuthLibWrapperService.initialize (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:194105:819)
at new OAuthLibWrapperService (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:194100:14)
at Object.OAuthLibWrapperService_Factory [as factory] (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:194172:167)
at R3Injector.hydrate (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:159836:35)
at R3Injector.get (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:159657:33)
at injectInjectorOnly (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:149394:33)
at ɵɵinject (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:149398:57)
at Object.AsmAuthService_Factory [as factory] (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:212641:426)
at R3Injector.hydrate (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:159836:35)
at R3Injector.get (/Users/XXX/YYY/ZZZ/store/dist/store/server/main.js:159657:33)
Spartacus version is 3.0. In the shell app we make use of AuthService, error disappears when we remove all imports of it. Error is not present also if we remove the redirectUri from the OAuthLibConfig (while AuthService is imported) but this is not our case as we want have it specified.
Related
After rebuilding with React Native 0.70.1/react-native-code-push 7.05 project/Xcode 14/Monterey , npx react-native run-ios launch successfully without any error but the console screen throws error:
[CodePush] An unknown error occurred.
LOG [CodePush] 400: {"status":400,"name":"Error","message":"Missing required query parameter \"deployment_key\""}
Then I create a new app in MS appcenter for IOS and replaced the app secret with the new one just created in AppCenter-Config.plist in Xcode. But the error is the same. Before rebuilding the app, I verify that the latest react native code push 7.0.5 works with the release of React Native 0.70.
The app build in Xcode 14 went successfully. What is missing with the appcenter or app config?
In my case, I got this error because I forgot to set the CodePushDeploymentKey inInfo.plist :)
Now that I have a configuration-specific CODEPUSH_KEY in build settings, and have set the CodePushDeploymentKey to $(CODEPUSH_KEY) in Info.plist, it works!
i have an issue with vue in laravel , when i upload the project on server gettings the below error on local everythings working fine !
Uncaught Error: Cannot find module './components/ProfileSkillComponent.vue'
at webpackMissingModule (app.js:334098:133)
at Module../resources/js/app.js (app.js:334098:246)
at __webpack_require__ (app.js:20:30)
at Object.0 (app.js:348515:1)
at __webpack_require__ (app.js:20:30)
at app.js:84:18
at app.js:87:10
Issue was case sensitive as i have uploaded project on Cento OS and i was working on Win OS seems wired but i changed from Cap to small letters and everything worked proper
I am using serverless for building aws app on a mac. When I do not use the "serverless-ruby-package" and deploy, I get
"errorMessage": "cannot load such file -- curb",
as the gems are not properly compiled.
The moment I add
plugins:
- serverless-ruby-package
and execute
sls deploy
or
sls package
I get
Type Error ----------------------------------------------
TypeError: Cannot read property 'push' of undefined
at PackageRubyBundlePlugin.beforePackage (/Users/xxxxxx/node_modules/serverless-ruby-package/index.js:85:45)
at PluginManager.invoke (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:576:20)
at async PluginManager.run (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:634:7)
at async Serverless.run (/usr/local/lib/node_modules/serverless/lib/Serverless.js:327:5)
at async /usr/local/lib/node_modules/serverless/scripts/serverless.js:704:9
This looks to be a bug with the serverless-ruby-package plugin, as it's been reported by other users
You may consider adding a comment here.
I’m having issues when running feathers generate authentication with selecting rethinkdb as database.
Environment:
Mac OS X Sierra
feathers 2.2.3
npm 5.1.0
rethinkdb 2.3.5
Steps to reproduce:
I have up and running https://github.com/tenzan/feathers-chat.git
feathers generate authentication
Select Username + Password (Local)
What is the name of the user (entity) service? (users) <-- Enter
What kind of service is it? (Use arrow keys) ❯ RethinkDB <-- Enter
Output:
events.js:182
throw er; // Unhandled 'error' event
^
TypeError: Parameter "url" must be a string, not object
at Url.parse (url.js:102:11)
at Object.urlParse [as parse] (url.js:96:5)
at ConnectionGenerator._getConfiguration (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/generators/connection/index.js:46:24)
at ConnectionGenerator._writeConfiguration (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/generators/connection/index.js:103:32)
at ConnectionGenerator.writing (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/generators/connection/index.js:297:10)
at Object.<anonymous> (/usr/local/lib/node_modules/feathers-cli/node_modules/yeoman-generator/lib/index.js:417:23)
at /usr/local/lib/node_modules/feathers-cli/node_modules/run-async/index.js:25:25
at Promise (<anonymous>)
at /usr/local/lib/node_modules/feathers-cli/node_modules/run-async/index.js:24:19
at /usr/local/lib/node_modules/feathers-cli/node_modules/yeoman-generator/lib/index.js:418:9
I had same errors on different Mac PCs with same environment.
It's an issue with generator-feathers
Remove the rethinkdb object from config/default
will see if I can fix the main problem
Edit: Fixed
I'm getting a blank page and this error when testing my aurelia app. It worked until I made a bunch of changes and I don't know which one broke it. vendor-bundle.js:13551 is inside core code. I've got debug messages showing as you can see.Is there a way to find what causes an error like this other than undoing each change one at a time?
... snipped ...
DEBUG [aurelia] Configured plugin aurelia-templating-router.
DEBUG [aurelia] Loading plugin resources/index.
Uncaught SyntaxError: Unexpected token export
vendor-bundle.js:13551 Uncaught TypeError: Cannot read property '__useDefault' of undefined
at ensureOriginOnExports (vendor-bundle.js:13551)
at vendor-bundle.js:13659
at Object.execCb (vendor-bundle.js:5432)
at Module.check (vendor-bundle.js:4620)
at Module.<anonymous> (vendor-bundle.js:4875)
at vendor-bundle.js:3873
at vendor-bundle.js:4925
at each (vendor-bundle.js:3798)
at Module.emit (vendor-bundle.js:4924)
at Module.check (vendor-bundle.js:4675)
at Module.enable (vendor-bundle.js:4912)
at Module.init (vendor-bundle.js:4525)
at callGetModule (vendor-bundle.js:4939)
at Object.completeLoad (vendor-bundle.js:5347)
at HTMLScriptElement.onScriptLoad (vendor-bundle.js:5453)