Closed magj2006 closed 5 years ago
it‘ OK now.
Ok. What did you do? How did you fix this?
Also, these issues might be linked. https://github.com/rustwasm/wasm-pack/issues/913
If the above fails, the package.json
is never created in the pkg
directory.
Ok. What did you do? How did you fix this?
@Dygear Sorry, see it today. It have been long time, so I forgot it.
I also encountered the same problem, the reason is that there is an extra space in front of ../pkg
.
change file: ../pkg
to file:../pkg
I followed the steps of book, but got this error when I run command 'npm install' in www. and I checked there is a package.json in pkg directory.