-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem encountered installing and running #146
Comments
No that is not what you should see. You are running improper version of React.
To see Electron runtime errors, click on the Console tab in the Developer Tools window. |
Sir,
Thank you for the response. I reproduce below the output on console of
Developer's tools:
[HMR] Waiting for update signal from WDS...
react-dom.development.js:24994
Download the React DevTools for a better development experience:
https://fb.me/react-devtools
You might need to use a local HTTP server (instead of file://):
https://fb.me/react-devtools-faq
configuration.js:29
Blink1Control2: config file:/Users/bipin289/Library/Application
configuration.js:29
Support/Blink1Control2/blink1control2-config.json
Uncaught TypeError: React.createClass is not a function
virtualBlink1.js:21
at eval (virtualBlink1.js:21)
at Object../components/gui/virtualBlink1.js (bundle.js:4911)
at __webpack_require__ (bundle.js:790)
at fn (bundle.js:101)
at eval (blink1Status.js:21)
at Object../components/gui/blink1Status.js (bundle.js:4732)
at __webpack_require__ (bundle.js:790)
at fn (bundle.js:101)
at eval (blink1ControlView.js:14)
at Object../components/gui/blink1ControlView.js (bundle.js:4708)
security-warnings.ts:181
Electron Security Warning (Insecure Content-Security-Policy) This renderer
process has either no Content Security
Policy set or a policy with "unsafe-eval" enabled. This exposes users of
this app to unnecessary security risks.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
(anonymous) @ security-warnings.ts:181
client:48 [WDS] Hot Module Replacement enabled.
client:52 [WDS] Live Reloading enabled.
DevTools failed to parse SourceMap:
webpack:///node_modules/sockjs-client/dist/sockjs.js.map
Awaiting further guidance. Regards
Bipin
…On Fri, Sep 11, 2020 at 3:13 AM Tod E. Kurt ***@***.***> wrote:
To see Electron runtime errors, click on the Console tab in the Developer
Tools window.
npm install will install all dependencies required. I am unclear why you
are getting that error. Please install from a git checkout not a zip.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADJ2EZULZLYXZLBQVLWELF3SFFCBDANCNFSM4RF4GKEQ>
.
|
Your setup seems to have a lot of strange behavior, producing non-typical errors. What is your intended outcome? if you are looking for a pre-built version of Blink1Control2, you can find that in the releases section. If you're looking to learn about how to use Electron with blink(1), I think a better place to start would be |
Sir,
I downloaded the zip of the repository and expanded the zip file. I opened the project in VSCode. As per the README.md I executed following steps:
It installed with two problems:
A. [email protected] requires a peer of [email protected] || ^15.0.0
I installed react^15.0.0
B. Output of problem
{
"resource": "/Users/bipin289/Desktop/Working-Dir/nodejs-usb-projects/Blink1Control2-2.2.4/package.json",
"owner": "generated_diagnostic_collection_name#3",
"severity": 4,
"message": "String does not match the pattern of "^(?:@[a-z0-9-~][a-z0-9-.
]*/)?[a-z0-9-][a-z0-9-.~]*$".","startLineNumber": 2,
"startColumn": 11,
"endLineNumber": 2,
"endColumn": 27
}
Next I opened second integrated terminal and run: npm run watch &
Result -> compiled successfully
Then from first terminal I ran the command: npm run startdev
Result -> output is as shown in the attached screenshot. It is blank electron browser and therefore the source in inspect output is minimal.
My question is: Is this the output we should get on running the app?
Awaiting guidance. Regards
The text was updated successfully, but these errors were encountered: