Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with production build #2

Open
newbizme opened this issue Oct 19, 2018 · 2 comments
Open

Issue with production build #2

newbizme opened this issue Oct 19, 2018 · 2 comments

Comments

@newbizme
Copy link

Creating an optimized production build...
Failed to compile.

./src/components/SettingsScreen/SettingsForm.js
Line 49: Replace ).·Assets·with·less·value·won't·be␍⏎··········· with ␍⏎············).·Assets·with·less·value·won't·be

@remon-nashid
Copy link
Owner

So I have deleted build and node_modules directories, reinstalled modules, and reattempted building production version using npm run web:build. Everything looked good.

Would you please help me with more info about your setup? Also, have you tried to replace text as shown in error message? Let me know if that get's you around the error.

@remon-nashid remon-nashid changed the title what should i fix? Issue with production build Oct 23, 2018
@ghost
Copy link

ghost commented Oct 23, 2018

newbizme mentioned compile error is from npm run web:build
it is not working. following is full log for the command.

./src/components/SettingsScreen/SettingsForm.js
  Line 49:  Replace `).·Assets·with·less·value·won't·be⏎···········` with `⏎············).·Assets·with·less·value·won't·be`  prettier/prettier

Search for the keywords to learn more about each error.


npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] web:build: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] web: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!     /Users/admin2/.npm/_logs/2018-10-23T10_29_23_760Z-debug.log
admin2s-Mac-mini:mltply admin2$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants