Document rsw init using npm
greenpdx opened this issue · 3 comments
only documented yarn to init a rsw.toml, this command also works
$ npm run rsw init
also
npm run rsw new rsw-hello
Also pre-install
concurrently
npm i -g concurrently
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]