Skip to content
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

Application.css file not found #2

Open
SHIVAA17 opened this issue Jan 17, 2024 · 7 comments
Open

Application.css file not found #2

SHIVAA17 opened this issue Jan 17, 2024 · 7 comments

Comments

@SHIVAA17
Copy link

the video link is not valid .can you resend it please

@Haripandey21
Copy link
Owner

Haripandey21 commented Jan 17, 2024 via email

@Haripandey21
Copy link
Owner

Haripandey21 commented Jan 17, 2024 via email

@SHIVAA17
Copy link
Author

After running this command rake assets: precompile this error is coming
yarn install v1.22.21
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid
resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
success Already up-to-date.
Done in 1.15s.
yarn run v1.22.21
$ cross-var esbuild $(globby app/javascript/. --quiet) --bundle --sourcemap --outdir=app/assets/builds --public-path=assets
--bundle was unexpected at this time.
C:\Users\shiv\Downloads\Blood_Supply-Dapp-main\Blood_Supply-Dapp-main> "C:\Users\shiv\Downloads\Blood_Supply-Dapp-main\Blood_Supply-Dapp-main\node_modules.bin\node.exe" "C:\Users\shiv\Downloads\Blood_Supply-Dapp-main\Blood_Supply-Dapp-main\node_modules.bin\..\cross-var\index.js" esbuild $(globby app/javascript/. --quiet) --bundle --sourcemap --outdir=app/assets/builds --public-path=assets
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rake aborted!
jsbundling-rails: Command build failed, ensure yarn is installed and yarn build runs without errors

Tasks: TOP => assets:precompile => javascript:build
(See full trace by running task with --trace)

@Haripandey21
Copy link
Owner

Haripandey21 commented Jan 17, 2024 via email

@SHIVAA17
Copy link
Author

thank you very much sir!!!

@SHIVAA17
Copy link
Author

image
The error has been resolved .now its working.
in package json file i changed this "build": "esbuild app/javascript/application.js --bundle --sourcemap --outdir=app/assets/builds --public-path=assets" .

@Haripandey21
Copy link
Owner

Haripandey21 commented Jan 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants