The Weex initialization project reported an error.

create a project according to the official website

npm i
npm start

report an error after starting the project!

Apr.08,2022

Delete node_modules and package-lock.json files, execute npm cache clear-- force and then try to install


. Is there any processing? Today's startup project also reported an error. The information is as follows:
Uncaught TypeError: Cannot assign to read only property 'exports' of object'-sharp < Object >'


I don't know. You can try node weex toolkit reinstall


everyone. Please reinstall tookit and create a new project. The project created a few days ago has bug, and they have released a new version in the past two days.

Menu