Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Error building app with appflow

$
0
0

@itosoft wrote:

how much space i have for appflow?
my project volume with node_module folder takes about 500mb on my localdisk
i got time out error while pushing is this because of limitation on my appflow?
should i have to push node_module folder?

also when i push iit except node_module folder i got this error:

[19:30:43]: fastlane finished with errors
/usr/local/bundle/bin/fastlane: [!] Exit status of command 'npm run build' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)

> qrReader@0.0.1 build /builds/project-0
> ng build

Generating ES5 bundles for differential loading...
An unhandled exception occurred: [BABEL] /builds/project-0/www/0-es2015.js: Could not find plugin "proposal-numeric-separator". Ensure there is an entry in ./available-plugins.js for it. (While processing: "/builds/project-0/node_modules/@babel/preset-env/lib/index.js")
See "/tmp/ng-MJY2Zl/angular-errors.log" for further details.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! qrReader@0.0.1 build: `ng build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the qrReader@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-03-25T19_30_42_975Z-debug.log

support team said me to do this:

Try this,

On package.json add;

  "resolutions": {    "@babel/preset-env": "^7.8.7",    "@babel/compat-data": "~7.8.0"  }

run npx npm-force-resolutions
then run npm install or yarn
then run npm build or yarn build

Let us know if this helps.

i added to package.json but i don’t know how to run those command on appflow server?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles