mixxit

mixxit

Member Since 11 years ago

Experience Points
9
follower
Lessons Completed
1
follow
Lessons Completed
18
stars
Best Reply Awards
71
repos

21 contributions in the last year

Pinned
⚡ NPCX Plugin for Bukkit
⚡ Core RPG Plugin
⚡ The mmorpg mod for minecraft
⚡ bukkit iplock
⚡ solinia online
⚡ Modification of the Torque MMOKit by Prarie Games
Activity
Oct
1
2 weeks ago
Activity icon
issue

mixxit issue comment AzureAD/microsoft-authentication-library-for-js

mixxit
mixxit

Line 18:3: 'React' must be in scope when using JSX react/react-in-jsx-scope

Core Library

No response

Wrapper Library

MSAL React (@azure/msal-react)

Documentation Location

https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-react/README.md#prerequisites

Description

Following the instructions on the page results in the following error

C:\dev\git\microsoft-authentication-library-for-js\samples\msal-react-samples\b2c-sample>npm install

up to date, audited 1976 packages in 4s

152 packages are looking for funding run npm fund for details

10 moderate severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details.

C:\dev\git\microsoft-authentication-library-for-js\samples\msal-react-samples\b2c-sample>npm run build .

[email protected] build react-scripts build "."

(node:8760) ExperimentalWarning: Package name self resolution is an experimental feature. This feature could change at any time Creating an optimized production build... Failed to compile.

src\App.js Line 18:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 19:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 20:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 21:6: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 22:7: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 23:8: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 34:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 35:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 36:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 38:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 39:5: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\pages\Home.jsx Line 8:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 9:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 10:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 13:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 14:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 15:6: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\pages\Protected.jsx Line 38:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 39:29: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 50:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 56:13: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\ErrorComponent.jsx Line 4:12: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\Loading.jsx Line 4:12: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\NavBar.jsx Line 14:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 15:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 16:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 17:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 18:21: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 20:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 21:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\PageLayout.jsx Line 6:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 7:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 8:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 9:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 11:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 12:13: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignInButton.jsx Line 28:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 29:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 35:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 50:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 51:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignInSignOutButton.jsx Line 11:16: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 14:16: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignOutButton.jsx Line 25:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 26:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 30:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 32:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 47:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 48:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\WelcomeName.jsx Line 16:16: 'React' must be in scope when using JSX react/react-in-jsx-scope

Search for the keywords to learn more about each error.

mixxit
mixxit

my package.json says "react-scripts": "4.0.1" but it is advising changing it to "react-scripts": "4.0.0-next.98" the .env file already existed with SKIP_PREFLIGHT_CHECK=true the eslint was different but i have added it

the npm start is now

image

Sep
30
2 weeks ago
Activity icon
issue

mixxit issue comment AzureAD/microsoft-authentication-library-for-js

mixxit
mixxit

Line 18:3: 'React' must be in scope when using JSX react/react-in-jsx-scope

Core Library

No response

Wrapper Library

MSAL React (@azure/msal-react)

Documentation Location

https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-react/README.md#prerequisites

Description

Following the instructions on the page results in the following error

C:\dev\git\microsoft-authentication-library-for-js\samples\msal-react-samples\b2c-sample>npm install

up to date, audited 1976 packages in 4s

152 packages are looking for funding run npm fund for details

10 moderate severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details.

C:\dev\git\microsoft-authentication-library-for-js\samples\msal-react-samples\b2c-sample>npm run build .

[email protected] build react-scripts build "."

(node:8760) ExperimentalWarning: Package name self resolution is an experimental feature. This feature could change at any time Creating an optimized production build... Failed to compile.

src\App.js Line 18:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 19:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 20:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 21:6: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 22:7: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 23:8: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 34:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 35:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 36:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 38:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 39:5: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\pages\Home.jsx Line 8:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 9:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 10:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 13:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 14:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 15:6: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\pages\Protected.jsx Line 38:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 39:29: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 50:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 56:13: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\ErrorComponent.jsx Line 4:12: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\Loading.jsx Line 4:12: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\NavBar.jsx Line 14:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 15:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 16:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 17:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 18:21: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 20:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 21:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\PageLayout.jsx Line 6:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 7:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 8:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 9:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 11:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 12:13: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignInButton.jsx Line 28:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 29:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 35:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 50:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 51:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignInSignOutButton.jsx Line 11:16: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 14:16: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignOutButton.jsx Line 25:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 26:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 30:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 32:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 47:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 48:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\WelcomeName.jsx Line 16:16: 'React' must be in scope when using JSX react/react-in-jsx-scope

Search for the keywords to learn more about each error.

mixxit
mixxit

@mixxit These are lint errors, can you please confirm that you have not configured your own lint rules somewhere? (I was not able to reproduce this) You can either turn off the "react/react-in-jsx-scope" rule if you're using react 17 or add import React from "react"; to each of the offending files.

I haven't configured any lint rules i just checked it out from scratch

I do not see any import React from "react" in microsoft-authentication-library-for-js\samples\msal-react-samples\b2c-sample\src

Are you saying the source in git is missing this?

package.json in the b2c sample folder seems to show "react": "^17.0.1", for me

Thanks!

Sep
15
1 month ago
Activity icon
issue

mixxit issue AzureAD/microsoft-authentication-library-for-js

mixxit
mixxit

Root folder Npm Install Errors

Core Library

MSAL.js v2 (@azure/msal-browser)

Core Library Version

dev branch

Wrapper Library

Not Applicable

Wrapper Library Version

not applicable

Description

npm install gives errors

msal: npx: installed 6 in 4.883s
msal: npm ERR! code EACCES
msal: npm ERR! syscall rename
msal: npm ERR! path /home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/request
msal: npm ERR! dest /home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/.request.DELETE
msal: npm ERR! errno -13
msal: npm ERR! Error: EACCES: permission denied, rename '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/request' -> '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/.request.DELETE'
msal: npm ERR!  [OperationalError: EACCES: permission denied, rename '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/request' -> '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/.request.DELETE'] {
msal: npm ERR!   cause: [Error: EACCES: permission denied, rename '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/request' -> '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/.request.DELETE'] {
msal: npm ERR!     errno: -13,
msal: npm ERR!     code: 'EACCES',
msal: npm ERR!     syscall: 'rename',
msal: npm ERR!     path: '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/request',
msal: npm ERR!     dest: '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/.request.DELETE'
msal: npm ERR!   },
msal: npm ERR!   errno: -13,
msal: npm ERR!   code: 'EACCES',
msal: npm ERR!   syscall: 'rename',
msal: npm ERR!   path: '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/request',
msal: npm ERR!   dest: '/home/mikebolland/microsoft-authentication-library-for-js/lib/msal-core/node_modules/.request.DELETE',
msal: npm ERR!   parent: 'msal-core'
msal: npm ERR! }
msal: npm ERR!
msal: npm ERR! The operation was rejected by your operating system.
msal: npm ERR! It is likely you do not have the permissions to access this file as the current user
msal: npm ERR!
msal: npm ERR! If you believe this might be a permissions issue, please double-check the
msal: npm ERR! permissions of the file and its containing directories, or try running
msal: npm ERR! the command again as root/Administrator.
msal: npm ERR! A complete log of this run can be found in:
msal: npm ERR!     /home/mikebolland/.npm/_logs/2021-09-15T11_15_11_052Z-debug.log```

### MSAL Configuration

_No response_

### Relevant Code Snippets

_No response_

### Identity Provider

_No response_

### Source

External (Customer)
Activity icon
issue

mixxit issue AzureAD/microsoft-authentication-library-for-js

mixxit
mixxit

Line 18:3: 'React' must be in scope when using JSX react/react-in-jsx-scope

Core Library

No response

Wrapper Library

MSAL React (@azure/msal-react)

Documentation Location

https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-react/README.md#prerequisites

Description

Following the instructions on the page results in the following error

C:\dev\git\microsoft-authentication-library-for-js\samples\msal-react-samples\b2c-sample>npm install

up to date, audited 1976 packages in 4s

152 packages are looking for funding run npm fund for details

10 moderate severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details.

C:\dev\git\microsoft-authentication-library-for-js\samples\msal-react-samples\b2c-sample>npm run build .

[email protected] build react-scripts build "."

(node:8760) ExperimentalWarning: Package name self resolution is an experimental feature. This feature could change at any time Creating an optimized production build... Failed to compile.

src\App.js Line 18:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 19:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 20:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 21:6: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 22:7: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 23:8: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 34:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 35:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 36:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 38:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 39:5: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\pages\Home.jsx Line 8:3: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 9:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 10:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 13:4: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 14:5: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 15:6: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\pages\Protected.jsx Line 38:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 39:29: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 50:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 56:13: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\ErrorComponent.jsx Line 4:12: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\Loading.jsx Line 4:12: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\NavBar.jsx Line 14:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 15:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 16:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 17:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 18:21: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 20:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 21:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\PageLayout.jsx Line 6:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 7:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 8:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 9:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 11:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 12:13: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignInButton.jsx Line 28:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 29:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 35:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 50:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 51:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignInSignOutButton.jsx Line 11:16: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 14:16: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\SignOutButton.jsx Line 25:9: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 26:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 30:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 32:13: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 47:17: 'React' must be in scope when using JSX react/react-in-jsx-scope Line 48:17: 'React' must be in scope when using JSX react/react-in-jsx-scope

src\ui-components\WelcomeName.jsx Line 16:16: 'React' must be in scope when using JSX react/react-in-jsx-scope

Search for the keywords to learn more about each error.