Help

Block release warn

Topic Labels: Custom Extensions
627 0
cancel
Showing results for 
Search instead for 
Did you mean: 
jachym
4 - Data Explorer
4 - Data Explorer

 

Hi,
I have a problem with the release of my extension.
The application works fine in development mode after block run.
I wanted to switch to release, but after using block release I get the following errors

patrykjachym@MacBook-Pro-Patryk obliczanie_transportow % block release
building
copying package.json file
copying package-lock.json file
installing node modules
[npm]
[npm] added 107 packages, and audited 108 packages in 862ms
[npm]
[npm] 7 packages are looking for funding
[npm] run `npm fund` for details
[npm]
[npm] found 0 vulnerabilities
[npm] npm warn config production Use `--omit=dev` instead.

Error: npm warn config production Use `--omit=dev` instead.
Failed to build the block code!
patrykjachym@MacBook-Pro-Patryk obliczanie_transportow %

 

My package.json 

{
"dependencies": {
"@airtable/blocks": "1.8.0",
"airtable": "^0.12.2",
"react": "^16.13.0",
"react-dom": "^16.13.0"
},
"scripts": {
"lint": "eslint frontend"
}
}

using node 18.20.4, but also trying differentiate version.

0 Replies 0