We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If pakcages are installed with yarn, I get this error:
yarn test yarn run v1.22.19 $ npm run test --prefix=./packages/core > @soroban-react/[email protected] test > yarn build && yarn jest $ rm -rf dist $ yarn prebuild && tsc $ rm -rf dist $ /home/wachuma/Blockchain/stellar/esteblock/soroban-react/node_modules/.bin/jest FAIL tests/useSorobanReact.test.js ● Test suite failed to run Cannot find module 'react' from 'jest.setup.js' 1 | const { JSDOM } = require('jsdom'); > 2 | const React = require('react'); | ^ 3 | const { useContext } = require('react'); 4 | const { render } = require('react-dom'); 5 | const { renderHook } = require('@testing-library/react-hooks'); at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:427:11) at Object.require (jest.setup.js:2:15) FAIL tests/index.test.js ● Test suite failed to run Cannot find module 'react' from 'jest.setup.js' 1 | const { JSDOM } = require('jsdom'); > 2 | const React = require('react'); | ^ 3 | const { useContext } = require('react'); 4 | const { render } = require('react-dom'); 5 | const { renderHook } = require('@testing-library/react-hooks'); at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:427:11) at Object.require (jest.setup.js:2:15) FAIL tests/SorobanContext.test.js ● Test suite failed to run Cannot find module 'react' from 'jest.setup.js' 1 | const { JSDOM } = require('jsdom'); > 2 | const React = require('react'); | ^ 3 | const { useContext } = require('react'); 4 | const { render } = require('react-dom'); 5 | const { renderHook } = require('@testing-library/react-hooks'); at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:427:11) at Object.require (jest.setup.js:2:15)
The text was updated successfully, but these errors were encountered:
npm install is also not working?
Sorry, something went wrong.
Should we be married with only one package manager?
benjaminsalon
No branches or pull requests
If pakcages are installed with yarn, I get this error:
The text was updated successfully, but these errors were encountered: