Closed weenta closed 6 years ago
when npm run build ERROR in ./node_modules/_natjs@0.1.3@natjs/lib/index.js Module build failed: Error: Couldn't find preset "env" relative to directory "E:\\...\\node_modules\\_natjs@0.1.3@natjs"
npm run build
ERROR in ./node_modules/_natjs@0.1.3@natjs/lib/index.js Module build failed: Error: Couldn't find preset "env" relative to directory "E:\\...\\node_modules\\_natjs@0.1.3@natjs"
environment win7 node 6.9.5 npm 5.0.4 weexpack 1.1.1
Please use npm i -D babel-preset-env to solve the problem temporarily, we will release a new version soon. @weenta
npm i -D babel-preset-env
fixed. use npm i natjs to update your nat to the latest version (>=0.1.5)
npm i natjs
>=0.1.5
when
npm run build
ERROR in ./node_modules/_natjs@0.1.3@natjs/lib/index.js Module build failed: Error: Couldn't find preset "env" relative to directory "E:\\...\\node_modules\\_natjs@0.1.3@natjs"
environment win7 node 6.9.5 npm 5.0.4 weexpack 1.1.1