You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.
I tried to install using Vagrant, but I am getting errors.
default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
default: ++ npm install -g yarn
default: /tmp/vagrant-shell: line 13: npm: command not found
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
I fixed the problem by modify vagrantfile and make install suecessed.
but I still get error that bixed in in 810e96b
Webpacker can't find application.js in /vagrant/public/packs/manifest.json. Possible causes:
You want to set webpacker.yml value of compile to true for your environment
unless you are using the webpack -w or the webpack-dev-server.
webpack has not yet re-run to reflect updates.
You have misconfigured Webpacker's config/webpacker.yml file.
Your webpack configuration is not creating a manifest.
Your manifest contains:
{
}
The text was updated successfully, but these errors were encountered:
I tried vagrant reload --provision and get next error
default: + yarn
default: yarn install v1.16.0
default: [1/4] Resolving packages...
default: [2/4] Fetching packages...
default: info [email protected]: The platform "linux" is incompatible with this module.
default: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
default: [3/4] Linking dependencies...
default: warning "@rails/webpacker > [email protected]" has unmet peer dependency "caniuse-lite@^1.0.30000697".
default: warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0".
default: warning "webpack-dev-server > [email protected]" has unmet peer dependency "webpack@^4.0.0".
default: error An unexpected error occurred: "EPROTO: protocol error, symlink '../../../../js-yaml/bin/js-yaml.js' -> '/vagrant/node_modules/@rails/webpacker/node_modules/.bin/js-yaml'".
default: info If you think this is a bug, please open a bug report with the information provided in "/vagrant/yarn-error.log".
I solved the problem buy two steps
1, execute the follow ps command as administrator
fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1
2, modify the vagrantfile
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant","1"]
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to install using Vagrant, but I am getting errors.
default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
default: ++ npm install -g yarn
default: /tmp/vagrant-shell: line 13: npm: command not found
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
I fixed the problem by modify vagrantfile and make install suecessed.
but I still get error that bixed in in 810e96b
Webpacker can't find application.js in /vagrant/public/packs/manifest.json. Possible causes:
unless you are using the
webpack -w
or the webpack-dev-server.Your manifest contains:
{
}
The text was updated successfully, but these errors were encountered: