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

Document rsw init using npm #39

Open
greenpdx opened this issue Jun 9, 2023 · 3 comments
Open

Document rsw init using npm #39

greenpdx opened this issue Jun 9, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@greenpdx
Copy link

greenpdx commented Jun 9, 2023

only documented yarn to init a rsw.toml, this command also works

$ npm run rsw init

@greenpdx greenpdx added the bug Something isn't working label Jun 9, 2023
@greenpdx
Copy link
Author

greenpdx commented Jun 9, 2023

also
npm run rsw new rsw-hello

@greenpdx
Copy link
Author

greenpdx commented Jun 9, 2023

Also pre-install
concurrently
npm i -g concurrently

@greenpdx
Copy link
Author

greenpdx commented Jun 9, 2023

I get a link error because it tries to install something in filesystem,
This is bad. It should be only local to package

npm ERR! code EACCES
npm ERR! syscall symlink
npm ERR! path ../../../home/ubuntu/avwasm/rsw-avwasm/pkg
npm ERR! dest /usr/lib/node_modules/rsw-avwasm
[0] npm ERR! errno -13
[0] npm ERR! Error: EACCES: permission denied, symlink '../../../home/ubuntu/avwasm/rsw-avwasm/pkg' -> '/usr/lib/node_modules/rsw-avwasm'
[0] npm ERR! [Error: EACCES: permission denied, symlink '../../../home/ubuntu/avwasm/rsw-avwasm/pkg' -> '/usr/lib/node_modules/rsw-avwasm'] {
[0] npm ERR! errno: -13,
[0] npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
[0] npm ERR! path: '../../../home/ubuntu/avwasm/rsw-avwasm/pkg',
[0] npm ERR! dest: '/usr/lib/node_modules/rsw-avwasm'
[0] npm ERR! }
[0] npm ERR!
[0] npm ERR! The operation was rejected by your operating system.
[0] npm ERR! It is likely you do not have the permissions to access this file as the current user
[0] npm ERR!
[0] npm ERR! If you believe this might be a permissions issue, please double-check the
[0] npm ERR! permissions of the file and its containing directories, or try running
[0] npm ERR! the command again as root/Administrator.
[0]
[0] npm ERR! A complete log of this run can be found in:
[0] npm ERR! /home/ubuntu/.npm/_logs/2023-06-09T15_04_30_229Z-debug-0.log
[0] [🔗 rsw::link] npm link ./rsw-avwasm/pkg
[0] [🦀 rsw::watch] rsw-avwasm
[0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant